diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-12-01 19:58:11 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-12-01 19:58:11 -0500 |
commit | 26752932003145c89a0cd8d39c9944d6f5917837 (patch) | |
tree | bebfa80dc8a2d01c140a3f128ab37fcf2f5710d7 /include/sway/security.h | |
parent | 44cc0ef125332f1fe3dad7d16ed0a78a25cd1974 (diff) |
Implement policy lookups
Diffstat (limited to 'include/sway/security.h')
-rw-r--r-- | include/sway/security.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/security.h b/include/sway/security.h new file mode 100644 index 00000000..efc25ce6 --- /dev/null +++ b/include/sway/security.h @@ -0,0 +1,9 @@ +#ifndef _SWAY_SECURITY_H +#define _SWAY_SECURITY_H +#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); + +#endif |