You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
409 B
15 lines
409 B
#ifndef _SWAY_SECURITY_H
|
|
#define _SWAY_SECURITY_H
|
|
#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);
|
|
|
|
const char *command_policy_str(enum command_context context);
|
|
|
|
struct feature_policy *alloc_feature_policy(const char *program);
|
|
struct command_policy *alloc_command_policy(const char *command);
|
|
|
|
#endif
|