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