Home
last modified time | relevance | path

Searched refs:NAME (Results 1 – 5 of 5) sorted by relevance

/security/apparmor/include/
Dnet.h56 #define DEFINE_AUDIT_NET(NAME, OP, SK, F, T, P) \ argument
57 struct lsm_network_audit NAME ## _net = { .sk = (SK), \
59 DEFINE_AUDIT_DATA(NAME, \
63 NAME.u.net = &(NAME ## _net); \
64 aad(&NAME)->net.type = (T); \
65 aad(&NAME)->net.protocol = (P)
67 #define DEFINE_AUDIT_SK(NAME, OP, SK) \ argument
68 DEFINE_AUDIT_NET(NAME, OP, SK, (SK)->sk_family, (SK)->sk_type, \
Daudit.h158 #define DEFINE_AUDIT_DATA(NAME, T, X) \ argument
160 struct apparmor_audit_data NAME ## _aad = { .op = (X), }; \
161 struct common_audit_data NAME = \
166 NAME.apparmor_audit_data = &(NAME ## _aad)
/security/bpf/
Dhooks.c10 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ argument
11 LSM_HOOK_INIT(NAME, bpf_lsm_##NAME),
/security/apparmor/
Dapparmorfs.c1030 #define SEQ_PROFILE_FOPS(NAME) \ argument
1031 static int seq_profile_ ##NAME ##_open(struct inode *inode, struct file *file)\
1033 return seq_profile_open(inode, file, seq_profile_ ##NAME ##_show); \
1036 static const struct file_operations seq_profile_ ##NAME ##_fops = { \
1038 .open = seq_profile_ ##NAME ##_open, \
1132 #define SEQ_NS_FOPS(NAME) \ argument
1133 static int seq_ns_ ##NAME ##_open(struct inode *inode, struct file *file) \
1135 return single_open(file, seq_ns_ ##NAME ##_show, inode->i_private); \
1138 static const struct file_operations seq_ns_ ##NAME ##_fops = { \
1140 .open = seq_ns_ ##NAME ##_open, \
[all …]
/security/
Dsecurity.c708 #define LSM_RET_DEFAULT(NAME) (NAME##_default) argument
709 #define DECLARE_LSM_RET_DEFAULT_void(DEFAULT, NAME) argument
710 #define DECLARE_LSM_RET_DEFAULT_int(DEFAULT, NAME) \ argument
711 static const int LSM_RET_DEFAULT(NAME) = (DEFAULT);
712 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ argument
713 DECLARE_LSM_RET_DEFAULT_##RET(DEFAULT, NAME)