/security/integrity/evm/ |
D | evm_main.c | 92 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() 129 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac() 267 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 292 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity() 313 static int evm_protect_xattr(struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 372 int evm_inode_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_setxattr() 402 int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr() 435 void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_post_setxattr() 457 void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_post_removexattr() 474 int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr() [all …]
|
D | evm_crypto.c | 186 static int evm_calc_hmac_or_hash(struct dentry *dentry, in evm_calc_hmac_or_hash() 253 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac() 261 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash() 269 static int evm_is_immutable(struct dentry *dentry, struct inode *inode) in evm_is_immutable() 302 int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name, in evm_update_evmxattr()
|
/security/integrity/ima/ |
D | ima_appraise.c | 60 static int ima_fix_xattr(struct dentry *dentry, in ima_fix_xattr() 190 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr() 322 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local 427 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local 456 void ima_inode_post_setattr(struct dentry *dentry) in ima_inode_post_setattr() 482 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr() 511 int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name, in ima_inode_setxattr() 529 int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name) in ima_inode_removexattr()
|
D | ima_main.c | 478 void ima_post_path_mknod(struct dentry *dentry) in ima_post_path_mknod()
|
D | ima.h | 306 static inline int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
|
/security/tomoyo/ |
D | realpath.c | 124 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path() 152 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path() 240 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path() local
|
D | tomoyo.c | 152 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) in tomoyo_path_unlink() 168 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir() 185 static int tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir() 201 static int tomoyo_path_symlink(const struct path *parent, struct dentry *dentry, in tomoyo_path_symlink() 219 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 | 737 int security_quota_on(struct dentry *dentry) in security_quota_on() 852 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs() 951 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security() 960 int security_dentry_create_files_as(struct dentry *dentry, int mode, in security_dentry_create_files_as() 1016 int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod() 1025 int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir() 1033 int security_path_rmdir(const struct path *dir, struct dentry *dentry) in security_path_rmdir() 1040 int security_path_unlink(const struct path *dir, struct dentry *dentry) in security_path_unlink() 1048 int security_path_symlink(const struct path *dir, struct dentry *dentry, in security_path_symlink() 1112 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create() [all …]
|
D | commoncap.c | 295 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv() 313 int cap_inode_killpriv(struct dentry *dentry) in cap_inode_killpriv() 379 struct dentry *dentry; in cap_inode_getsecurity() local 477 int cap_convert_nscap(struct dentry *dentry, void **ivalue, size_t size) in cap_convert_nscap() 572 int get_vfs_caps_from_disk(const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps) in get_vfs_caps_from_disk() 913 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr() 946 int cap_inode_removexattr(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 | 288 struct dentry *dentry; in dump_common_audit_data() local
|
/security/apparmor/ |
D | apparmorfs.c | 117 static int aafs_show_path(struct seq_file *seq, struct dentry *dentry) in aafs_show_path() 181 static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, in __aafs_setup_d_inode() 236 struct dentry *dentry; in aafs_create() local 350 static void aafs_remove(struct dentry *dentry) in aafs_remove() 1516 static const char *rawdata_get_link_base(struct dentry *dentry, in rawdata_get_link_base() 1544 static const char *rawdata_get_link_sha1(struct dentry *dentry, in rawdata_get_link_sha1() 1551 static const char *rawdata_get_link_abi(struct dentry *dentry, in rawdata_get_link_abi() 1558 static const char *rawdata_get_link_data(struct dentry *dentry, in rawdata_get_link_data() 1689 static int ns_mkdir_op(struct inode *dir, struct dentry *dentry, umode_t mode) in ns_mkdir_op() 1738 static int ns_rmdir_op(struct inode *dir, struct dentry *dentry) in ns_rmdir_op() [all …]
|
D | lsm.c | 238 struct dentry *dentry, u32 mask, in common_perm_dir_dentry() 256 struct dentry *dentry, u32 mask) in common_perm_rm() 281 struct dentry *dentry, u32 mask, umode_t mode) in common_perm_create() 291 static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry) in apparmor_path_unlink() 296 static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, in apparmor_path_mkdir() 303 static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) in apparmor_path_rmdir() 308 static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry, in apparmor_path_mknod() 319 static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
|
D | file.c | 159 static inline bool is_deleted(struct dentry *dentry) in is_deleted()
|
/security/selinux/ |
D | hooks.c | 268 struct dentry *dentry, in __inode_security_revalidate() 314 static struct inode_security_struct *backing_inode_security_novalidate(struct dentry *dentry) in backing_inode_security_novalidate() 324 static struct inode_security_struct *backing_inode_security(struct dentry *dentry) in backing_inode_security() 1333 static int selinux_genfs_get_sid(struct dentry *dentry, in selinux_genfs_get_sid() 1371 static int inode_doinit_use_xattr(struct inode *inode, struct dentry *dentry, in inode_doinit_use_xattr() 1441 struct dentry *dentry; in inode_doinit_with_dentry() local 1696 struct dentry *dentry, in dentry_has_perm() 1815 struct dentry *dentry, in may_create() 1862 struct dentry *dentry, in may_link() 2097 struct dentry *dentry = file->f_path.dentry; in selinux_binder_transfer_file() local [all …]
|
D | selinuxfs.c | 1330 struct dentry *dentry = NULL; in sel_make_bools() local 1612 struct dentry *dentry; in sel_make_avc_files() local 1643 struct dentry *dentry; in sel_make_ss_files() local 1692 struct dentry *dentry; in sel_make_initcon_files() local 1792 struct dentry *dentry; in sel_make_perm_files() local 1824 struct dentry *dentry = NULL; in sel_make_class_dir_entries() local 1894 struct dentry *dentry = NULL; in sel_make_policycap() local 1926 struct dentry *dentry = d_alloc_name(dir, name); in sel_make_dir() local 1956 struct dentry *dentry; in sel_fill_super() local
|
/security/lockdown/ |
D | lockdown.c | 176 struct dentry *dentry; in lockdown_secfs_init() local
|
/security/smack/ |
D | smack_lsm.c | 882 static int smack_sb_statfs(struct dentry *dentry) in smack_sb_statfs() 1065 static int smack_inode_unlink(struct inode *dir, struct dentry *dentry) in smack_inode_unlink() 1099 static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) in smack_inode_rmdir() 1207 static int smack_inode_setattr(struct dentry *dentry, struct iattr *iattr) in smack_inode_setattr() 1256 static int smack_inode_setxattr(struct dentry *dentry, const char *name, in smack_inode_setxattr() 1321 static void smack_inode_post_setxattr(struct dentry *dentry, const char *name, in smack_inode_post_setxattr() 1356 static int smack_inode_getxattr(struct dentry *dentry, const char *name) in smack_inode_getxattr() 1378 static int smack_inode_removexattr(struct dentry *dentry, const char *name) in smack_inode_removexattr() 4498 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) in smack_inode_setsecctx() 4512 static int smack_inode_copy_up(struct dentry *dentry, struct cred **new) in smack_inode_copy_up() [all …]
|
/security/apparmor/include/ |
D | lib.h | 87 static inline bool path_mediated_fs(struct dentry *dentry) in path_mediated_fs()
|
D | apparmorfs.h | 28 struct dentry *dentry; member
|