aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/security.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-01 21:36:43 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-01 21:36:43 -0500
commit76cab04b4d7828f3c4f607c49e1e6ad78aa6e3da (patch)
tree53a871af54a91c689c5db597ab21b3c97c4506cd /include/sway/security.h
parentMemory leak (diff)
downloadsway-76cab04b4d7828f3c4f607c49e1e6ad78aa6e3da.tar.gz
sway-76cab04b4d7828f3c4f607c49e1e6ad78aa6e3da.tar.zst
sway-76cab04b4d7828f3c4f607c49e1e6ad78aa6e3da.zip
Implement permit and reject commands
Diffstat (limited to 'include/sway/security.h')
-rw-r--r--include/sway/security.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sway/security.h b/include/sway/security.h
index efc25ce6..ae2de0d8 100644
--- a/include/sway/security.h
+++ b/include/sway/security.h
@@ -3,7 +3,9 @@
3#include <unistd.h> 3#include <unistd.h>
4#include "sway/config.h" 4#include "sway/config.h"
5 5
6const struct feature_permissions *get_permissions(pid_t pid); 6enum secure_feature get_feature_policy(pid_t pid);
7enum command_context get_command_context(const char *cmd); 7enum command_context get_command_policy(const char *cmd);
8
9struct feature_policy *alloc_feature_policy(const char *program);
8 10
9#endif 11#endif