diff options
author | Jerzi Kaminsky <JerziKaminsky@users.noreply.github.com> | 2017-04-15 17:16:32 +0300 |
---|---|---|
committer | Jerzi Kaminsky <JerziKaminsky@users.noreply.github.com> | 2017-04-16 17:09:53 +0300 |
commit | bfb99235e323e31689e280867103d3bc2e39ac22 (patch) | |
tree | 8332d7d88a2bcca48bf62a212ad55ee01ff87f6b /include/sway | |
parent | b4357a8eb6b9a5c0452fc0d127e37e54dc09e1a0 (diff) |
Move get_feature_policy to sway/security.c
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/security.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/security.h b/include/sway/security.h index d60f264a..0edffdfa 100644 --- a/include/sway/security.h +++ b/include/sway/security.h @@ -7,6 +7,8 @@ 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); struct feature_policy *alloc_feature_policy(const char *program); |