aboutsummaryrefslogtreecommitdiff
path: root/include/sway/security.h
diff options
context:
space:
mode:
authorÉrico Rolim <erico.erc@gmail.com>2020-05-21 00:46:28 -0300
committerSimon Ser <contact@emersion.fr>2020-05-21 10:57:00 +0200
commit1d3681f5213535c1f47ed8bd0cddb7df775dd75e (patch)
treeb9fce1efbd9b479832b0f1d3210602ec77e876b5 /include/sway/security.h
parent06fc42359bf155f81b559637e468b29266104d8f (diff)
Remove code related to the security features
- Remove struct definitions - Remove struct members - Remove initializations and frees
Diffstat (limited to 'include/sway/security.h')
-rw-r--r--include/sway/security.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/sway/security.h b/include/sway/security.h
deleted file mode 100644
index 0edffdfa..00000000
--- a/include/sway/security.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef _SWAY_SECURITY_H
-#define _SWAY_SECURITY_H
-#include <unistd.h>
-#include "sway/config.h"
-
-uint32_t get_feature_policy_mask(pid_t pid);
-uint32_t get_ipc_policy_mask(pid_t pid);
-uint32_t get_command_policy_mask(const char *cmd);
-
-struct feature_policy *get_feature_policy(const char *name);
-
-const char *command_policy_str(enum command_context context);
-
-struct feature_policy *alloc_feature_policy(const char *program);
-struct ipc_policy *alloc_ipc_policy(const char *program);
-struct command_policy *alloc_command_policy(const char *command);
-
-#endif