include/linux/lsm_hook_defs.h
100
LSM_HOOK(int, 0, path_symlink, const struct path *dir, struct dentry *dentry,
include/linux/lsm_hook_defs.h
102
LSM_HOOK(int, 0, path_link, struct dentry *old_dentry,
include/linux/lsm_hook_defs.h
104
LSM_HOOK(int, 0, path_rename, const struct path *old_dir,
include/linux/lsm_hook_defs.h
107
LSM_HOOK(int, 0, path_chmod, const struct path *path, umode_t mode)
include/linux/lsm_hook_defs.h
108
LSM_HOOK(int, 0, path_chown, const struct path *path, kuid_t uid, kgid_t gid)
include/linux/lsm_hook_defs.h
109
LSM_HOOK(int, 0, path_chroot, const struct path *path)
include/linux/lsm_hook_defs.h
113
LSM_HOOK(int, 0, path_notify, const struct path *path, u64 mask,
include/linux/lsm_hook_defs.h
115
LSM_HOOK(int, 0, inode_alloc_security, struct inode *inode)
include/linux/lsm_hook_defs.h
116
LSM_HOOK(void, LSM_RET_VOID, inode_free_security, struct inode *inode)
include/linux/lsm_hook_defs.h
117
LSM_HOOK(void, LSM_RET_VOID, inode_free_security_rcu, void *inode_security)
include/linux/lsm_hook_defs.h
118
LSM_HOOK(int, -EOPNOTSUPP, inode_init_security, struct inode *inode,
include/linux/lsm_hook_defs.h
121
LSM_HOOK(int, 0, inode_init_security_anon, struct inode *inode,
include/linux/lsm_hook_defs.h
123
LSM_HOOK(int, 0, inode_create, struct inode *dir, struct dentry *dentry,
include/linux/lsm_hook_defs.h
125
LSM_HOOK(void, LSM_RET_VOID, inode_post_create_tmpfile, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
127
LSM_HOOK(int, 0, inode_link, struct dentry *old_dentry, struct inode *dir,
include/linux/lsm_hook_defs.h
129
LSM_HOOK(int, 0, inode_unlink, struct inode *dir, struct dentry *dentry)
include/linux/lsm_hook_defs.h
130
LSM_HOOK(int, 0, inode_symlink, struct inode *dir, struct dentry *dentry,
include/linux/lsm_hook_defs.h
132
LSM_HOOK(int, 0, inode_mkdir, struct inode *dir, struct dentry *dentry,
include/linux/lsm_hook_defs.h
134
LSM_HOOK(int, 0, inode_rmdir, struct inode *dir, struct dentry *dentry)
include/linux/lsm_hook_defs.h
135
LSM_HOOK(int, 0, inode_mknod, struct inode *dir, struct dentry *dentry,
include/linux/lsm_hook_defs.h
137
LSM_HOOK(int, 0, inode_rename, struct inode *old_dir, struct dentry *old_dentry,
include/linux/lsm_hook_defs.h
139
LSM_HOOK(int, 0, inode_readlink, struct dentry *dentry)
include/linux/lsm_hook_defs.h
140
LSM_HOOK(int, 0, inode_follow_link, struct dentry *dentry, struct inode *inode,
include/linux/lsm_hook_defs.h
142
LSM_HOOK(int, 0, inode_permission, struct inode *inode, int mask)
include/linux/lsm_hook_defs.h
143
LSM_HOOK(int, 0, inode_setattr, struct mnt_idmap *idmap, struct dentry *dentry,
include/linux/lsm_hook_defs.h
145
LSM_HOOK(void, LSM_RET_VOID, inode_post_setattr, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
147
LSM_HOOK(int, 0, inode_getattr, const struct path *path)
include/linux/lsm_hook_defs.h
148
LSM_HOOK(int, 0, inode_xattr_skipcap, const char *name)
include/linux/lsm_hook_defs.h
149
LSM_HOOK(int, 0, inode_setxattr, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
152
LSM_HOOK(void, LSM_RET_VOID, inode_post_setxattr, struct dentry *dentry,
include/linux/lsm_hook_defs.h
154
LSM_HOOK(int, 0, inode_getxattr, struct dentry *dentry, const char *name)
include/linux/lsm_hook_defs.h
155
LSM_HOOK(int, 0, inode_listxattr, struct dentry *dentry)
include/linux/lsm_hook_defs.h
156
LSM_HOOK(int, 0, inode_removexattr, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
158
LSM_HOOK(void, LSM_RET_VOID, inode_post_removexattr, struct dentry *dentry,
include/linux/lsm_hook_defs.h
160
LSM_HOOK(int, 0, inode_file_setattr, struct dentry *dentry, struct file_kattr *fa)
include/linux/lsm_hook_defs.h
161
LSM_HOOK(int, 0, inode_file_getattr, struct dentry *dentry, struct file_kattr *fa)
include/linux/lsm_hook_defs.h
162
LSM_HOOK(int, 0, inode_set_acl, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
164
LSM_HOOK(void, LSM_RET_VOID, inode_post_set_acl, struct dentry *dentry,
include/linux/lsm_hook_defs.h
166
LSM_HOOK(int, 0, inode_get_acl, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
168
LSM_HOOK(int, 0, inode_remove_acl, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
170
LSM_HOOK(void, LSM_RET_VOID, inode_post_remove_acl, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
172
LSM_HOOK(int, 0, inode_need_killpriv, struct dentry *dentry)
include/linux/lsm_hook_defs.h
173
LSM_HOOK(int, 0, inode_killpriv, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
175
LSM_HOOK(int, -EOPNOTSUPP, inode_getsecurity, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
177
LSM_HOOK(int, -EOPNOTSUPP, inode_setsecurity, struct inode *inode,
include/linux/lsm_hook_defs.h
179
LSM_HOOK(int, 0, inode_listsecurity, struct inode *inode, char *buffer,
include/linux/lsm_hook_defs.h
181
LSM_HOOK(void, LSM_RET_VOID, inode_getlsmprop, struct inode *inode,
include/linux/lsm_hook_defs.h
183
LSM_HOOK(int, 0, inode_copy_up, struct dentry *src, struct cred **new)
include/linux/lsm_hook_defs.h
184
LSM_HOOK(int, -EOPNOTSUPP, inode_copy_up_xattr, struct dentry *src,
include/linux/lsm_hook_defs.h
186
LSM_HOOK(int, 0, inode_setintegrity, const struct inode *inode,
include/linux/lsm_hook_defs.h
188
LSM_HOOK(int, 0, kernfs_init_security, struct kernfs_node *kn_dir,
include/linux/lsm_hook_defs.h
190
LSM_HOOK(int, 0, file_permission, struct file *file, int mask)
include/linux/lsm_hook_defs.h
191
LSM_HOOK(int, 0, file_alloc_security, struct file *file)
include/linux/lsm_hook_defs.h
192
LSM_HOOK(void, LSM_RET_VOID, file_release, struct file *file)
include/linux/lsm_hook_defs.h
193
LSM_HOOK(void, LSM_RET_VOID, file_free_security, struct file *file)
include/linux/lsm_hook_defs.h
194
LSM_HOOK(int, 0, file_ioctl, struct file *file, unsigned int cmd,
include/linux/lsm_hook_defs.h
196
LSM_HOOK(int, 0, file_ioctl_compat, struct file *file, unsigned int cmd,
include/linux/lsm_hook_defs.h
198
LSM_HOOK(int, 0, mmap_addr, unsigned long addr)
include/linux/lsm_hook_defs.h
199
LSM_HOOK(int, 0, mmap_file, struct file *file, unsigned long reqprot,
include/linux/lsm_hook_defs.h
201
LSM_HOOK(int, 0, file_mprotect, struct vm_area_struct *vma,
include/linux/lsm_hook_defs.h
203
LSM_HOOK(int, 0, file_lock, struct file *file, unsigned int cmd)
include/linux/lsm_hook_defs.h
204
LSM_HOOK(int, 0, file_fcntl, struct file *file, unsigned int cmd,
include/linux/lsm_hook_defs.h
206
LSM_HOOK(void, LSM_RET_VOID, file_set_fowner, struct file *file)
include/linux/lsm_hook_defs.h
207
LSM_HOOK(int, 0, file_send_sigiotask, struct task_struct *tsk,
include/linux/lsm_hook_defs.h
209
LSM_HOOK(int, 0, file_receive, struct file *file)
include/linux/lsm_hook_defs.h
210
LSM_HOOK(int, 0, file_open, struct file *file)
include/linux/lsm_hook_defs.h
211
LSM_HOOK(int, 0, file_post_open, struct file *file, int mask)
include/linux/lsm_hook_defs.h
212
LSM_HOOK(int, 0, file_truncate, struct file *file)
include/linux/lsm_hook_defs.h
213
LSM_HOOK(int, 0, task_alloc, struct task_struct *task,
include/linux/lsm_hook_defs.h
215
LSM_HOOK(void, LSM_RET_VOID, task_free, struct task_struct *task)
include/linux/lsm_hook_defs.h
216
LSM_HOOK(int, 0, cred_alloc_blank, struct cred *cred, gfp_t gfp)
include/linux/lsm_hook_defs.h
217
LSM_HOOK(void, LSM_RET_VOID, cred_free, struct cred *cred)
include/linux/lsm_hook_defs.h
218
LSM_HOOK(int, 0, cred_prepare, struct cred *new, const struct cred *old,
include/linux/lsm_hook_defs.h
220
LSM_HOOK(void, LSM_RET_VOID, cred_transfer, struct cred *new,
include/linux/lsm_hook_defs.h
222
LSM_HOOK(void, LSM_RET_VOID, cred_getsecid, const struct cred *c, u32 *secid)
include/linux/lsm_hook_defs.h
223
LSM_HOOK(void, LSM_RET_VOID, cred_getlsmprop, const struct cred *c,
include/linux/lsm_hook_defs.h
225
LSM_HOOK(int, 0, kernel_act_as, struct cred *new, u32 secid)
include/linux/lsm_hook_defs.h
226
LSM_HOOK(int, 0, kernel_create_files_as, struct cred *new, struct inode *inode)
include/linux/lsm_hook_defs.h
227
LSM_HOOK(int, 0, kernel_module_request, char *kmod_name)
include/linux/lsm_hook_defs.h
228
LSM_HOOK(int, 0, kernel_load_data, enum kernel_load_data_id id, bool contents)
include/linux/lsm_hook_defs.h
229
LSM_HOOK(int, 0, kernel_post_load_data, char *buf, loff_t size,
include/linux/lsm_hook_defs.h
231
LSM_HOOK(int, 0, kernel_read_file, struct file *file,
include/linux/lsm_hook_defs.h
233
LSM_HOOK(int, 0, kernel_post_read_file, struct file *file, char *buf,
include/linux/lsm_hook_defs.h
235
LSM_HOOK(int, 0, task_fix_setuid, struct cred *new, const struct cred *old,
include/linux/lsm_hook_defs.h
237
LSM_HOOK(int, 0, task_fix_setgid, struct cred *new, const struct cred * old,
include/linux/lsm_hook_defs.h
239
LSM_HOOK(int, 0, task_fix_setgroups, struct cred *new, const struct cred * old)
include/linux/lsm_hook_defs.h
240
LSM_HOOK(int, 0, task_setpgid, struct task_struct *p, pid_t pgid)
include/linux/lsm_hook_defs.h
241
LSM_HOOK(int, 0, task_getpgid, struct task_struct *p)
include/linux/lsm_hook_defs.h
242
LSM_HOOK(int, 0, task_getsid, struct task_struct *p)
include/linux/lsm_hook_defs.h
243
LSM_HOOK(void, LSM_RET_VOID, current_getlsmprop_subj, struct lsm_prop *prop)
include/linux/lsm_hook_defs.h
244
LSM_HOOK(void, LSM_RET_VOID, task_getlsmprop_obj,
include/linux/lsm_hook_defs.h
246
LSM_HOOK(int, 0, task_setnice, struct task_struct *p, int nice)
include/linux/lsm_hook_defs.h
247
LSM_HOOK(int, 0, task_setioprio, struct task_struct *p, int ioprio)
include/linux/lsm_hook_defs.h
248
LSM_HOOK(int, 0, task_getioprio, struct task_struct *p)
include/linux/lsm_hook_defs.h
249
LSM_HOOK(int, 0, task_prlimit, const struct cred *cred,
include/linux/lsm_hook_defs.h
251
LSM_HOOK(int, 0, task_setrlimit, struct task_struct *p, unsigned int resource,
include/linux/lsm_hook_defs.h
253
LSM_HOOK(int, 0, task_setscheduler, struct task_struct *p)
include/linux/lsm_hook_defs.h
254
LSM_HOOK(int, 0, task_getscheduler, struct task_struct *p)
include/linux/lsm_hook_defs.h
255
LSM_HOOK(int, 0, task_movememory, struct task_struct *p)
include/linux/lsm_hook_defs.h
256
LSM_HOOK(int, 0, task_kill, struct task_struct *p, struct kernel_siginfo *info,
include/linux/lsm_hook_defs.h
258
LSM_HOOK(int, -ENOSYS, task_prctl, int option, unsigned long arg2,
include/linux/lsm_hook_defs.h
260
LSM_HOOK(void, LSM_RET_VOID, task_to_inode, struct task_struct *p,
include/linux/lsm_hook_defs.h
262
LSM_HOOK(int, 0, userns_create, const struct cred *cred)
include/linux/lsm_hook_defs.h
263
LSM_HOOK(int, 0, ipc_permission, struct kern_ipc_perm *ipcp, short flag)
include/linux/lsm_hook_defs.h
264
LSM_HOOK(void, LSM_RET_VOID, ipc_getlsmprop, struct kern_ipc_perm *ipcp,
include/linux/lsm_hook_defs.h
266
LSM_HOOK(int, 0, msg_msg_alloc_security, struct msg_msg *msg)
include/linux/lsm_hook_defs.h
267
LSM_HOOK(void, LSM_RET_VOID, msg_msg_free_security, struct msg_msg *msg)
include/linux/lsm_hook_defs.h
268
LSM_HOOK(int, 0, msg_queue_alloc_security, struct kern_ipc_perm *perm)
include/linux/lsm_hook_defs.h
269
LSM_HOOK(void, LSM_RET_VOID, msg_queue_free_security,
include/linux/lsm_hook_defs.h
271
LSM_HOOK(int, 0, msg_queue_associate, struct kern_ipc_perm *perm, int msqflg)
include/linux/lsm_hook_defs.h
272
LSM_HOOK(int, 0, msg_queue_msgctl, struct kern_ipc_perm *perm, int cmd)
include/linux/lsm_hook_defs.h
273
LSM_HOOK(int, 0, msg_queue_msgsnd, struct kern_ipc_perm *perm,
include/linux/lsm_hook_defs.h
275
LSM_HOOK(int, 0, msg_queue_msgrcv, struct kern_ipc_perm *perm,
include/linux/lsm_hook_defs.h
277
LSM_HOOK(int, 0, shm_alloc_security, struct kern_ipc_perm *perm)
include/linux/lsm_hook_defs.h
278
LSM_HOOK(void, LSM_RET_VOID, shm_free_security, struct kern_ipc_perm *perm)
include/linux/lsm_hook_defs.h
279
LSM_HOOK(int, 0, shm_associate, struct kern_ipc_perm *perm, int shmflg)
include/linux/lsm_hook_defs.h
280
LSM_HOOK(int, 0, shm_shmctl, struct kern_ipc_perm *perm, int cmd)
include/linux/lsm_hook_defs.h
281
LSM_HOOK(int, 0, shm_shmat, struct kern_ipc_perm *perm, char __user *shmaddr,
include/linux/lsm_hook_defs.h
283
LSM_HOOK(int, 0, sem_alloc_security, struct kern_ipc_perm *perm)
include/linux/lsm_hook_defs.h
284
LSM_HOOK(void, LSM_RET_VOID, sem_free_security, struct kern_ipc_perm *perm)
include/linux/lsm_hook_defs.h
285
LSM_HOOK(int, 0, sem_associate, struct kern_ipc_perm *perm, int semflg)
include/linux/lsm_hook_defs.h
286
LSM_HOOK(int, 0, sem_semctl, struct kern_ipc_perm *perm, int cmd)
include/linux/lsm_hook_defs.h
287
LSM_HOOK(int, 0, sem_semop, struct kern_ipc_perm *perm, struct sembuf *sops,
include/linux/lsm_hook_defs.h
289
LSM_HOOK(int, 0, netlink_send, struct sock *sk, struct sk_buff *skb)
include/linux/lsm_hook_defs.h
29
LSM_HOOK(int, 0, binder_set_context_mgr, const struct cred *mgr)
include/linux/lsm_hook_defs.h
290
LSM_HOOK(void, LSM_RET_VOID, d_instantiate, struct dentry *dentry,
include/linux/lsm_hook_defs.h
292
LSM_HOOK(int, -EOPNOTSUPP, getselfattr, unsigned int attr,
include/linux/lsm_hook_defs.h
294
LSM_HOOK(int, -EOPNOTSUPP, setselfattr, unsigned int attr,
include/linux/lsm_hook_defs.h
296
LSM_HOOK(int, -EINVAL, getprocattr, struct task_struct *p, const char *name,
include/linux/lsm_hook_defs.h
298
LSM_HOOK(int, -EINVAL, setprocattr, const char *name, void *value, size_t size)
include/linux/lsm_hook_defs.h
299
LSM_HOOK(int, 0, ismaclabel, const char *name)
include/linux/lsm_hook_defs.h
30
LSM_HOOK(int, 0, binder_transaction, const struct cred *from,
include/linux/lsm_hook_defs.h
300
LSM_HOOK(int, -EOPNOTSUPP, secid_to_secctx, u32 secid, struct lsm_context *cp)
include/linux/lsm_hook_defs.h
301
LSM_HOOK(int, -EOPNOTSUPP, lsmprop_to_secctx, struct lsm_prop *prop,
include/linux/lsm_hook_defs.h
303
LSM_HOOK(int, 0, secctx_to_secid, const char *secdata, u32 seclen, u32 *secid)
include/linux/lsm_hook_defs.h
304
LSM_HOOK(void, LSM_RET_VOID, release_secctx, struct lsm_context *cp)
include/linux/lsm_hook_defs.h
305
LSM_HOOK(void, LSM_RET_VOID, inode_invalidate_secctx, struct inode *inode)
include/linux/lsm_hook_defs.h
306
LSM_HOOK(int, 0, inode_notifysecctx, struct inode *inode, void *ctx, u32 ctxlen)
include/linux/lsm_hook_defs.h
307
LSM_HOOK(int, 0, inode_setsecctx, struct dentry *dentry, void *ctx, u32 ctxlen)
include/linux/lsm_hook_defs.h
308
LSM_HOOK(int, -EOPNOTSUPP, inode_getsecctx, struct inode *inode,
include/linux/lsm_hook_defs.h
312
LSM_HOOK(int, 0, post_notification, const struct cred *w_cred,
include/linux/lsm_hook_defs.h
317
LSM_HOOK(int, 0, watch_key, struct key *key)
include/linux/lsm_hook_defs.h
32
LSM_HOOK(int, 0, binder_transfer_binder, const struct cred *from,
include/linux/lsm_hook_defs.h
321
LSM_HOOK(int, 0, unix_stream_connect, struct sock *sock, struct sock *other,
include/linux/lsm_hook_defs.h
323
LSM_HOOK(int, 0, unix_may_send, struct socket *sock, struct socket *other)
include/linux/lsm_hook_defs.h
324
LSM_HOOK(int, 0, socket_create, int family, int type, int protocol, int kern)
include/linux/lsm_hook_defs.h
325
LSM_HOOK(int, 0, socket_post_create, struct socket *sock, int family, int type,
include/linux/lsm_hook_defs.h
327
LSM_HOOK(int, 0, socket_socketpair, struct socket *socka, struct socket *sockb)
include/linux/lsm_hook_defs.h
328
LSM_HOOK(int, 0, socket_bind, struct socket *sock, struct sockaddr *address,
include/linux/lsm_hook_defs.h
330
LSM_HOOK(int, 0, socket_connect, struct socket *sock, struct sockaddr *address,
include/linux/lsm_hook_defs.h
332
LSM_HOOK(int, 0, socket_listen, struct socket *sock, int backlog)
include/linux/lsm_hook_defs.h
333
LSM_HOOK(int, 0, socket_accept, struct socket *sock, struct socket *newsock)
include/linux/lsm_hook_defs.h
334
LSM_HOOK(int, 0, socket_sendmsg, struct socket *sock, struct msghdr *msg,
include/linux/lsm_hook_defs.h
336
LSM_HOOK(int, 0, socket_recvmsg, struct socket *sock, struct msghdr *msg,
include/linux/lsm_hook_defs.h
338
LSM_HOOK(int, 0, socket_getsockname, struct socket *sock)
include/linux/lsm_hook_defs.h
339
LSM_HOOK(int, 0, socket_getpeername, struct socket *sock)
include/linux/lsm_hook_defs.h
34
LSM_HOOK(int, 0, binder_transfer_file, const struct cred *from,
include/linux/lsm_hook_defs.h
340
LSM_HOOK(int, 0, socket_getsockopt, struct socket *sock, int level, int optname)
include/linux/lsm_hook_defs.h
341
LSM_HOOK(int, 0, socket_setsockopt, struct socket *sock, int level, int optname)
include/linux/lsm_hook_defs.h
342
LSM_HOOK(int, 0, socket_shutdown, struct socket *sock, int how)
include/linux/lsm_hook_defs.h
343
LSM_HOOK(int, 0, socket_sock_rcv_skb, struct sock *sk, struct sk_buff *skb)
include/linux/lsm_hook_defs.h
344
LSM_HOOK(int, -ENOPROTOOPT, socket_getpeersec_stream, struct socket *sock,
include/linux/lsm_hook_defs.h
346
LSM_HOOK(int, -ENOPROTOOPT, socket_getpeersec_dgram, struct socket *sock,
include/linux/lsm_hook_defs.h
348
LSM_HOOK(int, 0, sk_alloc_security, struct sock *sk, int family, gfp_t priority)
include/linux/lsm_hook_defs.h
349
LSM_HOOK(void, LSM_RET_VOID, sk_free_security, struct sock *sk)
include/linux/lsm_hook_defs.h
350
LSM_HOOK(void, LSM_RET_VOID, sk_clone_security, const struct sock *sk,
include/linux/lsm_hook_defs.h
352
LSM_HOOK(void, LSM_RET_VOID, sk_getsecid, const struct sock *sk, u32 *secid)
include/linux/lsm_hook_defs.h
353
LSM_HOOK(void, LSM_RET_VOID, sock_graft, struct sock *sk, struct socket *parent)
include/linux/lsm_hook_defs.h
354
LSM_HOOK(int, 0, inet_conn_request, const struct sock *sk, struct sk_buff *skb,
include/linux/lsm_hook_defs.h
356
LSM_HOOK(void, LSM_RET_VOID, inet_csk_clone, struct sock *newsk,
include/linux/lsm_hook_defs.h
358
LSM_HOOK(void, LSM_RET_VOID, inet_conn_established, struct sock *sk,
include/linux/lsm_hook_defs.h
36
LSM_HOOK(int, 0, ptrace_access_check, struct task_struct *child,
include/linux/lsm_hook_defs.h
360
LSM_HOOK(int, 0, secmark_relabel_packet, u32 secid)
include/linux/lsm_hook_defs.h
361
LSM_HOOK(void, LSM_RET_VOID, secmark_refcount_inc, void)
include/linux/lsm_hook_defs.h
362
LSM_HOOK(void, LSM_RET_VOID, secmark_refcount_dec, void)
include/linux/lsm_hook_defs.h
363
LSM_HOOK(void, LSM_RET_VOID, req_classify_flow, const struct request_sock *req,
include/linux/lsm_hook_defs.h
365
LSM_HOOK(int, 0, tun_dev_alloc_security, void *security)
include/linux/lsm_hook_defs.h
366
LSM_HOOK(int, 0, tun_dev_create, void)
include/linux/lsm_hook_defs.h
367
LSM_HOOK(int, 0, tun_dev_attach_queue, void *security)
include/linux/lsm_hook_defs.h
368
LSM_HOOK(int, 0, tun_dev_attach, struct sock *sk, void *security)
include/linux/lsm_hook_defs.h
369
LSM_HOOK(int, 0, tun_dev_open, void *security)
include/linux/lsm_hook_defs.h
370
LSM_HOOK(int, 0, sctp_assoc_request, struct sctp_association *asoc,
include/linux/lsm_hook_defs.h
372
LSM_HOOK(int, 0, sctp_bind_connect, struct sock *sk, int optname,
include/linux/lsm_hook_defs.h
374
LSM_HOOK(void, LSM_RET_VOID, sctp_sk_clone, struct sctp_association *asoc,
include/linux/lsm_hook_defs.h
376
LSM_HOOK(int, 0, sctp_assoc_established, struct sctp_association *asoc,
include/linux/lsm_hook_defs.h
378
LSM_HOOK(int, 0, mptcp_add_subflow, struct sock *sk, struct sock *ssk)
include/linux/lsm_hook_defs.h
38
LSM_HOOK(int, 0, ptrace_traceme, struct task_struct *parent)
include/linux/lsm_hook_defs.h
382
LSM_HOOK(int, 0, ib_pkey_access, void *sec, u64 subnet_prefix, u16 pkey)
include/linux/lsm_hook_defs.h
383
LSM_HOOK(int, 0, ib_endport_manage_subnet, void *sec, const char *dev_name,
include/linux/lsm_hook_defs.h
385
LSM_HOOK(int, 0, ib_alloc_security, void *sec)
include/linux/lsm_hook_defs.h
389
LSM_HOOK(int, 0, xfrm_policy_alloc_security, struct xfrm_sec_ctx **ctxp,
include/linux/lsm_hook_defs.h
39
LSM_HOOK(int, 0, capget, const struct task_struct *target, kernel_cap_t *effective,
include/linux/lsm_hook_defs.h
391
LSM_HOOK(int, 0, xfrm_policy_clone_security, struct xfrm_sec_ctx *old_ctx,
include/linux/lsm_hook_defs.h
393
LSM_HOOK(void, LSM_RET_VOID, xfrm_policy_free_security,
include/linux/lsm_hook_defs.h
395
LSM_HOOK(int, 0, xfrm_policy_delete_security, struct xfrm_sec_ctx *ctx)
include/linux/lsm_hook_defs.h
396
LSM_HOOK(int, 0, xfrm_state_alloc, struct xfrm_state *x,
include/linux/lsm_hook_defs.h
398
LSM_HOOK(int, 0, xfrm_state_alloc_acquire, struct xfrm_state *x,
include/linux/lsm_hook_defs.h
400
LSM_HOOK(void, LSM_RET_VOID, xfrm_state_free_security, struct xfrm_state *x)
include/linux/lsm_hook_defs.h
401
LSM_HOOK(int, 0, xfrm_state_delete_security, struct xfrm_state *x)
include/linux/lsm_hook_defs.h
402
LSM_HOOK(int, 0, xfrm_policy_lookup, struct xfrm_sec_ctx *ctx, u32 fl_secid)
include/linux/lsm_hook_defs.h
403
LSM_HOOK(int, 1, xfrm_state_pol_flow_match, struct xfrm_state *x,
include/linux/lsm_hook_defs.h
405
LSM_HOOK(int, 0, xfrm_decode_session, struct sk_buff *skb, u32 *secid,
include/linux/lsm_hook_defs.h
41
LSM_HOOK(int, 0, capset, struct cred *new, const struct cred *old,
include/linux/lsm_hook_defs.h
411
LSM_HOOK(int, 0, key_alloc, struct key *key, const struct cred *cred,
include/linux/lsm_hook_defs.h
413
LSM_HOOK(int, 0, key_permission, key_ref_t key_ref, const struct cred *cred,
include/linux/lsm_hook_defs.h
415
LSM_HOOK(int, 0, key_getsecurity, struct key *key, char **buffer)
include/linux/lsm_hook_defs.h
416
LSM_HOOK(void, LSM_RET_VOID, key_post_create_or_update, struct key *keyring,
include/linux/lsm_hook_defs.h
422
LSM_HOOK(int, 0, audit_rule_init, u32 field, u32 op, char *rulestr,
include/linux/lsm_hook_defs.h
424
LSM_HOOK(int, 0, audit_rule_known, struct audit_krule *krule)
include/linux/lsm_hook_defs.h
425
LSM_HOOK(int, 0, audit_rule_match, struct lsm_prop *prop, u32 field, u32 op,
include/linux/lsm_hook_defs.h
427
LSM_HOOK(void, LSM_RET_VOID, audit_rule_free, void *lsmrule)
include/linux/lsm_hook_defs.h
431
LSM_HOOK(int, 0, bpf, int cmd, union bpf_attr *attr, unsigned int size, bool kernel)
include/linux/lsm_hook_defs.h
432
LSM_HOOK(int, 0, bpf_map, struct bpf_map *map, fmode_t fmode)
include/linux/lsm_hook_defs.h
433
LSM_HOOK(int, 0, bpf_prog, struct bpf_prog *prog)
include/linux/lsm_hook_defs.h
434
LSM_HOOK(int, 0, bpf_map_create, struct bpf_map *map, union bpf_attr *attr,
include/linux/lsm_hook_defs.h
436
LSM_HOOK(void, LSM_RET_VOID, bpf_map_free, struct bpf_map *map)
include/linux/lsm_hook_defs.h
437
LSM_HOOK(int, 0, bpf_prog_load, struct bpf_prog *prog, union bpf_attr *attr,
include/linux/lsm_hook_defs.h
439
LSM_HOOK(void, LSM_RET_VOID, bpf_prog_free, struct bpf_prog *prog)
include/linux/lsm_hook_defs.h
44
LSM_HOOK(int, 0, capable, const struct cred *cred, struct user_namespace *ns,
include/linux/lsm_hook_defs.h
440
LSM_HOOK(int, 0, bpf_token_create, struct bpf_token *token, union bpf_attr *attr,
include/linux/lsm_hook_defs.h
442
LSM_HOOK(void, LSM_RET_VOID, bpf_token_free, struct bpf_token *token)
include/linux/lsm_hook_defs.h
443
LSM_HOOK(int, 0, bpf_token_cmd, const struct bpf_token *token, enum bpf_cmd cmd)
include/linux/lsm_hook_defs.h
444
LSM_HOOK(int, 0, bpf_token_capable, const struct bpf_token *token, int cap)
include/linux/lsm_hook_defs.h
447
LSM_HOOK(int, 0, locked_down, enum lockdown_reason what)
include/linux/lsm_hook_defs.h
450
LSM_HOOK(int, 0, perf_event_open, int type)
include/linux/lsm_hook_defs.h
451
LSM_HOOK(int, 0, perf_event_alloc, struct perf_event *event)
include/linux/lsm_hook_defs.h
452
LSM_HOOK(int, 0, perf_event_read, struct perf_event *event)
include/linux/lsm_hook_defs.h
453
LSM_HOOK(int, 0, perf_event_write, struct perf_event *event)
include/linux/lsm_hook_defs.h
457
LSM_HOOK(int, 0, uring_override_creds, const struct cred *new)
include/linux/lsm_hook_defs.h
458
LSM_HOOK(int, 0, uring_sqpoll, void)
include/linux/lsm_hook_defs.h
459
LSM_HOOK(int, 0, uring_cmd, struct io_uring_cmd *ioucmd)
include/linux/lsm_hook_defs.h
46
LSM_HOOK(int, 0, quotactl, int cmds, int type, int id, const struct super_block *sb)
include/linux/lsm_hook_defs.h
460
LSM_HOOK(int, 0, uring_allowed, void)
include/linux/lsm_hook_defs.h
463
LSM_HOOK(void, LSM_RET_VOID, initramfs_populated, void)
include/linux/lsm_hook_defs.h
465
LSM_HOOK(int, 0, bdev_alloc_security, struct block_device *bdev)
include/linux/lsm_hook_defs.h
466
LSM_HOOK(void, LSM_RET_VOID, bdev_free_security, struct block_device *bdev)
include/linux/lsm_hook_defs.h
467
LSM_HOOK(int, 0, bdev_setintegrity, struct block_device *bdev,
include/linux/lsm_hook_defs.h
47
LSM_HOOK(int, 0, quota_on, struct dentry *dentry)
include/linux/lsm_hook_defs.h
48
LSM_HOOK(int, 0, syslog, int type)
include/linux/lsm_hook_defs.h
49
LSM_HOOK(int, 0, settime, const struct timespec64 *ts,
include/linux/lsm_hook_defs.h
51
LSM_HOOK(int, 0, vm_enough_memory, struct mm_struct *mm, long pages)
include/linux/lsm_hook_defs.h
52
LSM_HOOK(int, 0, bprm_creds_for_exec, struct linux_binprm *bprm)
include/linux/lsm_hook_defs.h
53
LSM_HOOK(int, 0, bprm_creds_from_file, struct linux_binprm *bprm, const struct file *file)
include/linux/lsm_hook_defs.h
54
LSM_HOOK(int, 0, bprm_check_security, struct linux_binprm *bprm)
include/linux/lsm_hook_defs.h
55
LSM_HOOK(void, LSM_RET_VOID, bprm_committing_creds, const struct linux_binprm *bprm)
include/linux/lsm_hook_defs.h
56
LSM_HOOK(void, LSM_RET_VOID, bprm_committed_creds, const struct linux_binprm *bprm)
include/linux/lsm_hook_defs.h
57
LSM_HOOK(int, 0, fs_context_submount, struct fs_context *fc, struct super_block *reference)
include/linux/lsm_hook_defs.h
58
LSM_HOOK(int, 0, fs_context_dup, struct fs_context *fc,
include/linux/lsm_hook_defs.h
60
LSM_HOOK(int, -ENOPARAM, fs_context_parse_param, struct fs_context *fc,
include/linux/lsm_hook_defs.h
62
LSM_HOOK(int, 0, sb_alloc_security, struct super_block *sb)
include/linux/lsm_hook_defs.h
63
LSM_HOOK(void, LSM_RET_VOID, sb_delete, struct super_block *sb)
include/linux/lsm_hook_defs.h
64
LSM_HOOK(void, LSM_RET_VOID, sb_free_security, struct super_block *sb)
include/linux/lsm_hook_defs.h
65
LSM_HOOK(void, LSM_RET_VOID, sb_free_mnt_opts, void *mnt_opts)
include/linux/lsm_hook_defs.h
66
LSM_HOOK(int, 0, sb_eat_lsm_opts, char *orig, void **mnt_opts)
include/linux/lsm_hook_defs.h
67
LSM_HOOK(int, 0, sb_mnt_opts_compat, struct super_block *sb, void *mnt_opts)
include/linux/lsm_hook_defs.h
68
LSM_HOOK(int, 0, sb_remount, struct super_block *sb, void *mnt_opts)
include/linux/lsm_hook_defs.h
69
LSM_HOOK(int, 0, sb_kern_mount, const struct super_block *sb)
include/linux/lsm_hook_defs.h
70
LSM_HOOK(int, 0, sb_show_options, struct seq_file *m, struct super_block *sb)
include/linux/lsm_hook_defs.h
71
LSM_HOOK(int, 0, sb_statfs, struct dentry *dentry)
include/linux/lsm_hook_defs.h
72
LSM_HOOK(int, 0, sb_mount, const char *dev_name, const struct path *path,
include/linux/lsm_hook_defs.h
74
LSM_HOOK(int, 0, sb_umount, struct vfsmount *mnt, int flags)
include/linux/lsm_hook_defs.h
75
LSM_HOOK(int, 0, sb_pivotroot, const struct path *old_path,
include/linux/lsm_hook_defs.h
77
LSM_HOOK(int, 0, sb_set_mnt_opts, struct super_block *sb, void *mnt_opts,
include/linux/lsm_hook_defs.h
79
LSM_HOOK(int, 0, sb_clone_mnt_opts, const struct super_block *oldsb,
include/linux/lsm_hook_defs.h
82
LSM_HOOK(int, 0, move_mount, const struct path *from_path,
include/linux/lsm_hook_defs.h
84
LSM_HOOK(int, -EOPNOTSUPP, dentry_init_security, struct dentry *dentry,
include/linux/lsm_hook_defs.h
87
LSM_HOOK(int, 0, dentry_create_files_as, struct dentry *dentry, int mode,
include/linux/lsm_hook_defs.h
91
LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry)
include/linux/lsm_hook_defs.h
92
LSM_HOOK(int, 0, path_mkdir, const struct path *dir, struct dentry *dentry,
include/linux/lsm_hook_defs.h
94
LSM_HOOK(int, 0, path_rmdir, const struct path *dir, struct dentry *dentry)
include/linux/lsm_hook_defs.h
95
LSM_HOOK(int, 0, path_mknod, const struct path *dir, struct dentry *dentry,
include/linux/lsm_hook_defs.h
97
LSM_HOOK(void, LSM_RET_VOID, path_post_mknod, struct mnt_idmap *idmap,
include/linux/lsm_hook_defs.h
99
LSM_HOOK(int, 0, path_truncate, const struct path *path)
kernel/bpf/bpf_lsm.c
36
#undef LSM_HOOK