/security/integrity/evm/ |
D | evm_main.c | 137 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() 173 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac() 338 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs() 409 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 434 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity() 456 struct dentry *dentry, const char *xattr_name, in evm_xattr_acl_change() 505 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() 542 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 624 int evm_inode_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setxattr() 657 struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr() [all …]
|
D | evm_crypto.c | 210 static int evm_calc_hmac_or_hash(struct dentry *dentry, in evm_calc_hmac_or_hash() 307 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac() 315 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash() 323 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable() 356 int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name, in evm_update_evmxattr()
|
/security/integrity/ima/ |
D | ima_appraise.c | 85 static int ima_fix_xattr(struct dentry *dentry, in ima_fix_xattr() 216 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr() 384 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local 497 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local 528 struct dentry *dentry) in ima_inode_post_setattr() 552 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr() 594 static int validate_hash_algo(struct dentry *dentry, in validate_hash_algo() 641 int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name, in ima_inode_setxattr() 671 int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name) in ima_inode_removexattr()
|
D | ima_main.c | 670 struct dentry *dentry) in ima_post_path_mknod()
|
D | ima.h | 374 static inline int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
|
/security/landlock/ |
D | fs.c | 193 const struct dentry *const dentry) in find_rule() 609 static inline access_mask_t maybe_remove(const struct dentry *const dentry) in maybe_remove() 641 struct dentry *const dentry, const umode_t mode) in hook_path_mkdir() 647 struct dentry *const dentry, const umode_t mode, in hook_path_mknod() 659 struct dentry *const dentry, in hook_path_symlink() 666 struct dentry *const dentry) in hook_path_unlink() 672 struct dentry *const dentry) in hook_path_rmdir()
|
/security/tomoyo/ |
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
|
D | tomoyo.c | 145 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink() 161 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir() 178 static int tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir() 194 static int tomoyo_path_symlink(const struct path *parent, struct dentry *dentry, in tomoyo_path_symlink() 212 static int tomoyo_path_mknod(const struct path *parent, struct dentry *dentry, in tomoyo_path_mknod()
|
D | condition.c | 716 struct dentry *dentry = NULL; in tomoyo_get_attributes() local
|
/security/ |
D | security.c | 816 int security_quota_on(struct dentry *dentry) in security_quota_on() 970 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs() 1069 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security() 1078 int security_dentry_create_files_as(struct dentry *dentry, int mode, in security_dentry_create_files_as() 1142 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod() 1151 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir() 1159 int security_path_rmdir(const struct path *dir, struct dentry *dentry) in security_path_rmdir() 1166 int security_path_unlink(const struct path *dir, struct dentry *dentry) in security_path_unlink() 1174 int security_path_symlink(const struct path *dir, struct dentry *dentry, in security_path_symlink() 1237 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create() [all …]
|
D | commoncap.c | 296 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv() 321 int cap_inode_killpriv(struct user_namespace *mnt_userns, struct dentry *dentry) in cap_inode_killpriv() 389 struct dentry *dentry; in cap_inode_getsecurity() local 542 int cap_convert_nscap(struct user_namespace *mnt_userns, struct dentry *dentry, in cap_convert_nscap() 650 const struct dentry *dentry, in get_vfs_caps_from_disk() 997 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr() 1039 struct dentry *dentry, const char *name) in cap_inode_removexattr()
|
D | inode.c | 112 struct dentry *dentry; in securityfs_create_dentry() local 295 void securityfs_remove(struct dentry *dentry) in securityfs_remove()
|
D | lsm_audit.c | 290 struct dentry *dentry; in dump_common_audit_data() local
|
/security/apparmor/ |
D | apparmorfs.c | 147 static int aafs_show_path(struct seq_file *seq, struct dentry *dentry) in aafs_show_path() 211 static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, in __aafs_setup_d_inode() 266 struct dentry *dentry; in aafs_create() local 348 static void aafs_remove(struct dentry *dentry) in aafs_remove() 1605 static const char *rawdata_get_link_base(struct dentry *dentry, in rawdata_get_link_base() 1633 static const char *rawdata_get_link_sha1(struct dentry *dentry, in rawdata_get_link_sha1() 1640 static const char *rawdata_get_link_abi(struct dentry *dentry, in rawdata_get_link_abi() 1647 static const char *rawdata_get_link_data(struct dentry *dentry, in rawdata_get_link_data() 1779 struct dentry *dentry, umode_t mode) in ns_mkdir_op() 1828 static int ns_rmdir_op(struct inode *dir, struct dentry *dentry) in ns_rmdir_op() [all …]
|
D | lsm.c | 250 struct dentry *dentry, u32 mask, in common_perm_dir_dentry() 268 struct dentry *dentry, u32 mask) in common_perm_rm() 294 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create() 304 static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry) in apparmor_path_unlink() 309 static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, in apparmor_path_mkdir() 316 static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) in apparmor_path_rmdir() 321 static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry, in apparmor_path_mknod() 332 static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
|
D | file.c | 150 static inline bool is_deleted(struct dentry *dentry) in is_deleted()
|
/security/selinux/ |
D | hooks.c | 267 struct dentry *dentry, in __inode_security_revalidate() 313 static struct inode_security_struct *backing_inode_security_novalidate(struct dentry *dentry) in backing_inode_security_novalidate() 323 static struct inode_security_struct *backing_inode_security(struct dentry *dentry) in backing_inode_security() 1341 static int selinux_genfs_get_sid(struct dentry *dentry, in selinux_genfs_get_sid() 1379 static int inode_doinit_use_xattr(struct inode *inode, struct dentry *dentry, in inode_doinit_use_xattr() 1447 struct dentry *dentry; in inode_doinit_with_dentry() local 1712 struct dentry *dentry, in dentry_has_perm() 1832 struct dentry *dentry, in may_create() 1879 struct dentry *dentry, in may_link() 2108 struct dentry *dentry = file->f_path.dentry; in selinux_binder_transfer_file() local [all …]
|
D | selinuxfs.c | 1426 struct dentry *dentry = NULL; in sel_make_bools() local 1697 struct dentry *dentry; in sel_make_avc_files() local 1728 struct dentry *dentry; in sel_make_ss_files() local 1777 struct dentry *dentry; in sel_make_initcon_files() local 1881 struct dentry *dentry; in sel_make_perm_files() local 1914 struct dentry *dentry = NULL; in sel_make_class_dir_entries() local 1983 struct dentry *dentry = NULL; in sel_make_policycap() local 2013 struct dentry *dentry = d_alloc_name(dir, name); in sel_make_dir() local 2059 struct dentry *dentry; in sel_fill_super() local
|
/security/lockdown/ |
D | lockdown.c | 151 struct dentry *dentry; in lockdown_secfs_init() local
|
/security/smack/ |
D | smack_lsm.c | 855 static int smack_sb_statfs(struct dentry *dentry) in smack_sb_statfs() 1050 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink() 1084 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir() 1192 static int smack_inode_setattr(struct dentry *dentry, struct iattr *iattr) in smack_inode_setattr() 1242 struct dentry *dentry, const char *name, in smack_inode_setxattr() 1307 static void smack_inode_post_setxattr(struct dentry *dentry, const char *name, in smack_inode_post_setxattr() 1342 static int smack_inode_getxattr(struct dentry *dentry, const char *name) in smack_inode_getxattr() 1365 struct dentry *dentry, const char *name) in smack_inode_removexattr() 4632 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx() 4647 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up() [all …]
|
/security/apparmor/include/ |
D | lib.h | 92 static inline bool path_mediated_fs(struct dentry *dentry) in path_mediated_fs()
|
D | apparmorfs.h | 28 struct dentry *dentry; member
|