mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Add initial support code for new IPC security
This commit is contained in:
parent
7dbecdde95
commit
b10721b89e
7 changed files with 70 additions and 58 deletions
|
|
@ -3,12 +3,14 @@
|
|||
#include <unistd.h>
|
||||
#include "sway/config.h"
|
||||
|
||||
enum secure_feature get_feature_policy(pid_t pid);
|
||||
enum command_context get_command_policy(const char *cmd);
|
||||
uint32_t get_feature_policy(pid_t pid);
|
||||
uint32_t get_ipc_policy(pid_t pid);
|
||||
uint32_t get_command_policy(const char *cmd);
|
||||
|
||||
const char *command_policy_str(enum command_context context);
|
||||
|
||||
struct feature_policy *alloc_feature_policy(const char *program);
|
||||
struct ipc_policy *alloc_ipc_policy(const char *program);
|
||||
struct command_policy *alloc_command_policy(const char *command);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue