aboutsummaryrefslogtreecommitdiff
path: root/include/sway/security.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-04-16 10:17:43 -0400
committerGitHub <noreply@github.com>2017-04-16 10:17:43 -0400
commit7494a48378bff3b11304ba4077bda5a84ed10087 (patch)
tree21abe14fe200099fffe5de9b7770cf2ca921e371 /include/sway/security.h
parentedb8075ae0c0986fb168b464b05e0b54537f8f30 (diff)
parent2ad8850398693cb572152e6d97c59de371996273 (diff)
Merge pull request #1173 from JerziKaminsky/security_resolve_symlink
FOR_REVIEW: IPC security - Allow policy targets to be symlinks
Diffstat (limited to 'include/sway/security.h')
-rw-r--r--include/sway/security.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sway/security.h b/include/sway/security.h
index c3a5cfd4..0edffdfa 100644
--- a/include/sway/security.h
+++ b/include/sway/security.h
@@ -3,9 +3,11 @@
#include <unistd.h>
#include "sway/config.h"
-uint32_t get_feature_policy(pid_t pid);
-uint32_t get_ipc_policy(pid_t pid);
-uint32_t get_command_policy(const char *cmd);
+uint32_t get_feature_policy_mask(pid_t pid);
+uint32_t get_ipc_policy_mask(pid_t pid);
+uint32_t get_command_policy_mask(const char *cmd);
+
+struct feature_policy *get_feature_policy(const char *name);
const char *command_policy_str(enum command_context context);