mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Implement permit and reject commands
This commit is contained in:
parent
1a8a42f372
commit
76cab04b4d
8 changed files with 115 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue