aboutsummaryrefslogtreecommitdiff
path: root/include/sway/security.h
diff options
context:
space:
mode:
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 @@
#include <unistd.h>
#include "sway/config.h"
-const struct feature_permissions *get_permissions(pid_t pid);
-enum command_context get_command_context(const char *cmd);
+enum secure_feature get_feature_policy(pid_t pid);
+enum command_context get_command_policy(const char *cmd);
+
+struct feature_policy *alloc_feature_policy(const char *program);
#endif