From 1d3681f5213535c1f47ed8bd0cddb7df775dd75e Mon Sep 17 00:00:00 2001 From: Érico Rolim Date: Thu, 21 May 2020 00:46:28 -0300 Subject: Remove code related to the security features - Remove struct definitions - Remove struct members - Remove initializations and frees --- include/sway/security.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 include/sway/security.h (limited to 'include/sway/security.h') diff --git a/include/sway/security.h b/include/sway/security.h deleted file mode 100644 index 0edffdfa..00000000 --- a/include/sway/security.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _SWAY_SECURITY_H -#define _SWAY_SECURITY_H -#include -#include "sway/config.h" - -uint32_t get_feature_policy_mask(pid_t pid); -uint32_t get_ipc_policy_mask(pid_t pid); -uint32_t get_command_policy_mask(const char *cmd); - -struct feature_policy *get_feature_policy(const char *name); - -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 -- cgit v1.2.3