| /security/integrity/evm/ |
| A D | evm_main.c | 131 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() 154 static int is_unsupported_hmac_fs(struct dentry *dentry) in is_unsupported_hmac_fs() 421 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 462 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() 498 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 633 struct dentry *dentry, const char *name, in evm_inode_set_acl_change() 652 struct dentry *dentry, in evm_inode_set_acl_change() 804 static void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr() 879 struct dentry *dentry, in evm_inode_post_remove_acl() 886 struct dentry *dentry, struct iattr *attr) in evm_attr_change() [all …]
|
| A D | evm_crypto.c | 220 static int evm_calc_hmac_or_hash(struct dentry *dentry, in evm_calc_hmac_or_hash() 315 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac() 324 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash() 332 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable() 366 int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name, in evm_update_evmxattr()
|
| A D | evm_secfs.c | 303 struct dentry *dentry; in evm_init_secfs() local
|
| /security/integrity/ima/ |
| A D | ima_appraise.c | 88 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) in ima_fix_xattr() 225 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr() 500 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local 630 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local 662 struct dentry *dentry, int ia_valid) in ima_inode_post_setattr() 686 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr() 728 static int validate_hash_algo(struct dentry *dentry, in validate_hash_algo() 775 static int ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_setxattr() 806 static int ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_set_acl() 815 static int ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_removexattr() [all …]
|
| A D | ima_fs.c | 405 struct dentry *dentry; in create_securityfs_measurement_lists() local 499 struct dentry *dentry; in ima_fs_init() local
|
| A D | ima_main.c | 793 static void ima_post_path_mknod(struct mnt_idmap *idmap, struct dentry *dentry) in ima_post_path_mknod()
|
| A D | ima.h | 498 static inline int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
|
| /security/tomoyo/ |
| A D | realpath.c | 125 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path() 153 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path() 242 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path() local
|
| A D | tomoyo.c | 158 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink() 174 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir() 191 static int tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir() 207 static int tomoyo_path_symlink(const struct path *parent, struct dentry *dentry, in tomoyo_path_symlink() 225 static int tomoyo_path_mknod(const struct path *parent, struct dentry *dentry, in tomoyo_path_mknod()
|
| A D | condition.c | 716 struct dentry *dentry = NULL; in tomoyo_get_attributes() local
|
| /security/ |
| A D | security.c | 1169 int security_quota_on(struct dentry *dentry) in security_quota_on() 1545 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs() 2280 int security_inode_readlink(struct dentry *dentry) in security_inode_readlink() 2341 struct dentry *dentry, struct iattr *attr) in security_inode_setattr() 2407 struct dentry *dentry, const char *name, in security_inode_setxattr() 2439 struct dentry *dentry, const char *acl_name, in security_inode_set_acl() 2476 struct dentry *dentry, const char *acl_name) in security_inode_get_acl() 2512 struct dentry *dentry, const char *acl_name) in security_inode_post_remove_acl() 2563 int security_inode_listxattr(struct dentry *dentry) in security_inode_listxattr() 2594 struct dentry *dentry, const char *name) in security_inode_removexattr() [all …]
|
| A D | commoncap.c | 326 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv() 351 int cap_inode_killpriv(struct mnt_idmap *idmap, struct dentry *dentry) in cap_inode_killpriv() 422 struct dentry *dentry; in cap_inode_getsecurity() local 559 int cap_convert_nscap(struct mnt_idmap *idmap, struct dentry *dentry, in cap_convert_nscap() 666 const struct dentry *dentry, in get_vfs_caps_from_disk() 1015 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr() 1057 struct dentry *dentry, const char *name) in cap_inode_removexattr()
|
| A D | inode.c | 112 struct dentry *dentry; in securityfs_create_dentry() local 306 void securityfs_remove(struct dentry *dentry) in securityfs_remove()
|
| A D | lsm_audit.c | 254 struct dentry *dentry; in audit_log_lsm_data() local
|
| /security/landlock/ |
| A D | fs.c | 365 const struct dentry *const dentry) in find_rule() 390 static bool is_nouser_or_private(const struct dentry *dentry) in is_nouser_or_private() 1002 static access_mask_t maybe_remove(const struct dentry *const dentry) in maybe_remove() 1392 struct dentry *const dentry) in log_fs_change_topology_dentry() 1530 struct dentry *const dentry, const umode_t mode) in hook_path_mkdir() 1536 struct dentry *const dentry, const umode_t mode, in hook_path_mknod() 1543 struct dentry *const dentry, in hook_path_symlink() 1550 struct dentry *const dentry) in hook_path_unlink() 1556 struct dentry *const dentry) in hook_path_rmdir()
|
| /security/apparmor/ |
| A D | apparmorfs.c | 150 static int aafs_show_path(struct seq_file *seq, struct dentry *dentry) in aafs_show_path() 269 struct dentry *dentry; in aafs_create() local 351 static void aafs_remove(struct dentry *dentry) in aafs_remove() 1626 static const char *rawdata_get_link_base(struct dentry *dentry, in rawdata_get_link_base() 1654 static const char *rawdata_get_link_sha256(struct dentry *dentry, in rawdata_get_link_sha256() 1661 static const char *rawdata_get_link_abi(struct dentry *dentry, in rawdata_get_link_abi() 1668 static const char *rawdata_get_link_data(struct dentry *dentry, in rawdata_get_link_data() 1807 struct dentry *dentry, umode_t mode) in ns_mkdir_op() 1857 static int ns_rmdir_op(struct inode *dir, struct dentry *dentry) in ns_rmdir_op() 2562 struct dentry *dentry; in aa_mk_null_file() local [all …]
|
| A D | lsm.c | 268 struct dentry *dentry, u32 mask, in common_perm_dir_dentry() 286 struct dentry *dentry, u32 mask) in common_perm_rm() 313 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create() 323 static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry) in apparmor_path_unlink() 328 static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, in apparmor_path_mkdir() 335 static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) in apparmor_path_rmdir() 340 static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry, in apparmor_path_mknod() 356 static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
|
| /security/selinux/ |
| A D | hooks.c | 279 struct dentry *dentry, in __inode_security_revalidate() 1425 struct dentry *dentry; in inode_doinit_with_dentry() local 1688 struct dentry *dentry, in dentry_has_perm() 1813 struct dentry *dentry, in may_create() 1857 struct dentry *dentry, in may_link() 2075 struct dentry *dentry = file->f_path.dentry; in selinux_binder_transfer_file() local 2193 static int selinux_quota_on(struct dentry *dentry) in selinux_quota_on() 3322 struct dentry *dentry, const char *name, in selinux_inode_setxattr() 3408 struct dentry *dentry, const char *acl_name, in selinux_inode_set_acl() 3415 struct dentry *dentry, const char *acl_name) in selinux_inode_get_acl() [all …]
|
| A D | selinuxfs.c | 1370 struct dentry *dentry; in sel_make_bools() local 1603 struct dentry *dentry; in sel_make_avc_files() local 1634 struct dentry *dentry; in sel_make_ss_files() local 1682 struct dentry *dentry; in sel_make_initcon_files() local 1786 struct dentry *dentry; in sel_make_perm_files() local 1819 struct dentry *dentry = NULL; in sel_make_class_dir_entries() local 1885 struct dentry *dentry = NULL; in sel_make_policycap() local 1915 struct dentry *dentry = d_alloc_name(dir, name); in sel_make_dir() local 1952 struct dentry *dentry = d_alloc_name(sb->s_root, ".swapover"); in sel_make_swapover_dir() local 1981 struct dentry *dentry; in sel_fill_super() local
|
| /security/lockdown/ |
| A D | lockdown.c | 157 struct dentry *dentry; in lockdown_secfs_init() local
|
| /security/smack/ |
| A D | smack_lsm.c | 877 static int smack_sb_statfs(struct dentry *dentry) in smack_sb_statfs() 1087 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink() 1121 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir() 1309 struct dentry *dentry, const char *name, in smack_inode_setxattr() 1409 static int smack_inode_getxattr(struct dentry *dentry, const char *name) in smack_inode_getxattr() 1433 struct dentry *dentry, const char *name) in smack_inode_removexattr() 1491 struct dentry *dentry, const char *acl_name, in smack_inode_set_acl() 1514 struct dentry *dentry, const char *acl_name) in smack_inode_get_acl() 1536 struct dentry *dentry, const char *acl_name) in smack_inode_remove_acl() 4873 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up() [all …]
|
| /security/ipe/ |
| A D | fs.c | 200 struct dentry *dentry; in ipe_init_securityfs() local
|
| /security/loadpin/ |
| A D | loadpin.c | 417 struct dentry *loadpin_dir, *dentry; in init_loadpin_securityfs() local
|
| /security/apparmor/include/ |
| A D | apparmorfs.h | 28 struct dentry *dentry; member
|
| A D | lib.h | 117 static inline bool path_mediated_fs(struct dentry *dentry) in path_mediated_fs()
|