Lines Matching +full:sig +full:- +full:dir

1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com>
12 * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com>
59 LSM_HOOK(int, -ENOPARAM, fs_context_parse_param, struct fs_context *fc,
91 LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry)
92 LSM_HOOK(int, 0, path_mkdir, const struct path *dir, struct dentry *dentry,
94 LSM_HOOK(int, 0, path_rmdir, const struct path *dir, struct dentry *dentry)
95 LSM_HOOK(int, 0, path_mknod, const struct path *dir, struct dentry *dentry,
98 LSM_HOOK(int, 0, path_symlink, const struct path *dir, struct dentry *dentry,
116 struct inode *dir, const struct qstr *qstr, const char **name,
120 LSM_HOOK(int, 0, inode_create, struct inode *dir, struct dentry *dentry,
122 LSM_HOOK(int, 0, inode_link, struct dentry *old_dentry, struct inode *dir,
124 LSM_HOOK(int, 0, inode_unlink, struct inode *dir, struct dentry *dentry)
125 LSM_HOOK(int, 0, inode_symlink, struct inode *dir, struct dentry *dentry,
127 LSM_HOOK(int, 0, inode_mkdir, struct inode *dir, struct dentry *dentry,
129 LSM_HOOK(int, 0, inode_rmdir, struct inode *dir, struct dentry *dentry)
130 LSM_HOOK(int, 0, inode_mknod, struct inode *dir, struct dentry *dentry,
152 LSM_HOOK(int, -EOPNOTSUPP, inode_getsecurity, struct user_namespace *mnt_userns,
154 LSM_HOOK(int, -EOPNOTSUPP, inode_setsecurity, struct inode *inode,
160 LSM_HOOK(int, -EOPNOTSUPP, inode_copy_up_xattr, const char *name)
178 struct fown_struct *fown, int sig)
223 int sig, const struct cred *cred)
224 LSM_HOOK(int, -ENOSYS, task_prctl, int option, unsigned long arg2,
257 LSM_HOOK(int, -EINVAL, getprocattr, struct task_struct *p, char *name,
259 LSM_HOOK(int, -EINVAL, setprocattr, const char *name, void *value, size_t size)
261 LSM_HOOK(int, -EOPNOTSUPP, secid_to_secctx, u32 secid, char **secdata,