aboutsummaryrefslogtreecommitdiff
path: root/include/sway/security.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-02-22 00:45:51 -0500
committerGitHub <noreply@github.com>2017-02-22 00:45:51 -0500
commit692768230385d7d63938d7a40e9253c0f028d1cb (patch)
tree5b8222416cf425c2c2dee123a13dd774fd2a368c /include/sway/security.h
parent46bd2bb5df02bd155bf92af6483c5b553afa7b6e (diff)
parentf68d2fb33c433d13def0921db561eb23d400683c (diff)
Merge branch 'master' into swaylock_colors
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 1cc85bee..c3a5cfd4 100644
--- a/include/sway/security.h
+++ b/include/sway/security.h
@@ -3,12 +3,14 @@
#include <unistd.h>
#include "sway/config.h"
-enum secure_feature get_feature_policy(pid_t pid);
-enum command_context get_command_policy(const char *cmd);
+uint32_t get_feature_policy(pid_t pid);
+uint32_t get_ipc_policy(pid_t pid);
+uint32_t get_command_policy(const char *cmd);
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