Implement permit and reject commands

This commit is contained in:
Drew DeVault 2016-12-01 21:36:43 -05:00
parent 1a8a42f372
commit 76cab04b4d
8 changed files with 115 additions and 22 deletions

View file

@ -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