diff options
author | Érico Rolim <erico.erc@gmail.com> | 2020-05-21 00:46:28 -0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-21 10:57:00 +0200 |
commit | 1d3681f5213535c1f47ed8bd0cddb7df775dd75e (patch) | |
tree | b9fce1efbd9b479832b0f1d3210602ec77e876b5 /include/sway/security.h | |
parent | Fix typos in comments (diff) | |
download | sway-1d3681f5213535c1f47ed8bd0cddb7df775dd75e.tar.gz sway-1d3681f5213535c1f47ed8bd0cddb7df775dd75e.tar.zst sway-1d3681f5213535c1f47ed8bd0cddb7df775dd75e.zip |
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.h | 18 |
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 @@ | |||
1 | #ifndef _SWAY_SECURITY_H | ||
2 | #define _SWAY_SECURITY_H | ||
3 | #include <unistd.h> | ||
4 | #include "sway/config.h" | ||
5 | |||
6 | uint32_t get_feature_policy_mask(pid_t pid); | ||
7 | uint32_t get_ipc_policy_mask(pid_t pid); | ||
8 | uint32_t get_command_policy_mask(const char *cmd); | ||
9 | |||
10 | struct feature_policy *get_feature_policy(const char *name); | ||
11 | |||
12 | const char *command_policy_str(enum command_context context); | ||
13 | |||
14 | struct feature_policy *alloc_feature_policy(const char *program); | ||
15 | struct ipc_policy *alloc_ipc_policy(const char *program); | ||
16 | struct command_policy *alloc_command_policy(const char *command); | ||
17 | |||
18 | #endif | ||