/security/integrity/ima/ |
D | ima_api.c | 42 int violation, struct inode *inode) in ima_store_template() 74 void ima_add_violation(struct inode *inode, const unsigned char *filename, in ima_add_violation() 115 int ima_get_action(struct inode *inode, int mask, int function) in ima_get_action() 125 int ima_must_measure(struct inode *inode, int mask, int function) in ima_must_measure() 143 struct inode *inode = file_inode(file); in ima_collect_measurement() local 185 struct inode *inode = file_inode(file); in ima_store_measurement() local
|
D | ima_main.c | 60 struct inode *inode = dentry->d_inode; in ima_rdwr_violation_check() local 104 struct inode *inode, struct file *file) in ima_check_last_writer() 129 struct inode *inode = file_inode(file); in ima_file_free() local 145 struct inode *inode = file_inode(file); in process_measurement() local
|
D | ima_appraise.c | 37 int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func) in ima_must_appraise() 122 struct inode *inode = dentry->d_inode; in ima_appraise_measurement() local 240 struct inode *inode = dentry->d_inode; in ima_inode_post_setattr() local 278 static void ima_reset_appraise_flags(struct inode *inode) in ima_reset_appraise_flags()
|
D | ima_fs.c | 159 static int ima_measurements_open(struct inode *inode, struct file *file) in ima_measurements_open() 234 static int ima_ascii_measurements_open(struct inode *inode, struct file *file) in ima_ascii_measurements_open() 290 static int ima_open_policy(struct inode * inode, struct file * filp) in ima_open_policy() 307 static int ima_release_policy(struct inode *inode, struct file *file) in ima_release_policy()
|
D | ima_audit.c | 31 void integrity_audit_msg(int audit_msgno, struct inode *inode, in integrity_audit_msg()
|
D | ima_queue.c | 107 const char *op, struct inode *inode) in ima_add_template_entry()
|
D | ima.h | 71 static inline void integrity_audit_msg(int audit_msgno, struct inode *inode, in integrity_audit_msg() 163 static inline int ima_must_appraise(struct inode *inode, int mask, in ima_must_appraise()
|
D | ima_policy.c | 165 struct inode *inode, enum ima_hooks func, int mask) in ima_match_rules() 262 int ima_match_policy(struct inode *inode, enum ima_hooks func, int mask, in ima_match_policy()
|
/security/integrity/ |
D | iint.c | 33 static struct integrity_iint_cache *__integrity_iint_find(struct inode *inode) in __integrity_iint_find() 57 struct integrity_iint_cache *integrity_iint_find(struct inode *inode) in integrity_iint_find() 90 struct integrity_iint_cache *integrity_inode_get(struct inode *inode) in integrity_inode_get() 133 void integrity_inode_free(struct inode *inode) in integrity_inode_free()
|
/security/tomoyo/ |
D | realpath.c | 100 struct inode *inode = path->dentry->d_inode; in tomoyo_get_absolute_path() local 128 struct inode *inode = dentry->d_inode; in tomoyo_get_dentry_path() local 171 struct inode *inode = sb->s_root->d_inode; in tomoyo_get_local_path() local 222 struct inode *inode = path->dentry->d_inode; in tomoyo_get_socket_name() local 262 struct inode *inode; in tomoyo_realpath_from_path() local
|
D | securityfs_if.c | 136 static int tomoyo_open(struct inode *inode, struct file *file) in tomoyo_open() 149 static int tomoyo_release(struct inode *inode, struct file *file) in tomoyo_release()
|
/security/ |
D | lsm_audit.c | 236 struct inode *inode; in dump_common_audit_data() local 249 struct inode *inode; in dump_common_audit_data() local 264 struct inode *inode; in dump_common_audit_data() local 279 struct inode *inode; in dump_common_audit_data() local
|
D | capability.c | 132 static int cap_inode_alloc_security(struct inode *inode) in cap_inode_alloc_security() 137 static void cap_inode_free_security(struct inode *inode) in cap_inode_free_security() 141 static int cap_inode_init_security(struct inode *inode, struct inode *dir, in cap_inode_init_security() 148 static int cap_inode_create(struct inode *inode, struct dentry *dentry, in cap_inode_create() 154 static int cap_inode_link(struct dentry *old_dentry, struct inode *inode, in cap_inode_link() 160 static int cap_inode_unlink(struct inode *inode, struct dentry *dentry) in cap_inode_unlink() 165 static int cap_inode_symlink(struct inode *inode, struct dentry *dentry, in cap_inode_symlink() 171 static int cap_inode_mkdir(struct inode *inode, struct dentry *dentry, in cap_inode_mkdir() 177 static int cap_inode_rmdir(struct inode *inode, struct dentry *dentry) in cap_inode_rmdir() 182 static int cap_inode_mknod(struct inode *inode, struct dentry *dentry, in cap_inode_mknod() [all …]
|
D | security.c | 335 int security_inode_alloc(struct inode *inode) in security_inode_alloc() 341 void security_inode_free(struct inode *inode) in security_inode_free() 347 int security_inode_init_security(struct inode *inode, struct inode *dir, in security_inode_init_security() 384 int security_old_inode_init_security(struct inode *inode, struct inode *dir, in security_old_inode_init_security() 559 int security_inode_permission(struct inode *inode, int mask) in security_inode_permission() 650 int security_inode_getsecurity(const struct inode *inode, const char *name, void **buffer, bool all… in security_inode_getsecurity() 657 int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t siz… in security_inode_setsecurity() 664 int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) in security_inode_listsecurity() 671 void security_inode_getsecid(const struct inode *inode, u32 *secid) in security_inode_getsecid() 833 int security_kernel_create_files_as(struct cred *new, struct inode *inode) in security_kernel_create_files_as() [all …]
|
D | commoncap.c | 321 struct inode *inode = dentry->d_inode; in cap_inode_need_killpriv() local 343 struct inode *inode = dentry->d_inode; in cap_inode_killpriv() local 400 struct inode *inode = dentry->d_inode; in get_vfs_caps_from_disk() local
|
D | inode.c | 88 struct inode *dir, *inode; in securityfs_create_file() local
|
/security/integrity/evm/ |
D | evm_crypto.c | 95 static void hmac_add_misc(struct shash_desc *desc, struct inode *inode, in hmac_add_misc() 132 struct inode *inode = dentry->d_inode; in evm_calc_hmac_or_hash() local 200 struct inode *inode = dentry->d_inode; in evm_update_evmxattr() local 217 int evm_init_hmac(struct inode *inode, const struct xattr *lsm_xattr, in evm_init_hmac()
|
D | evm_main.c | 56 struct inode *inode = dentry->d_inode; in evm_find_protected_xattrs() local 231 struct inode *inode = dentry->d_inode; in evm_verify_current_integrity() local 334 struct inode *inode = dentry->d_inode; in evm_inode_post_removexattr() local 387 int evm_inode_init_security(struct inode *inode, in evm_inode_init_security()
|
/security/selinux/ |
D | selinuxfs.c | 218 static int sel_open_handle_status(struct inode *inode, struct file *filp) in sel_open_handle_status() 371 static int sel_open_policy(struct inode *inode, struct file *filp) in sel_open_policy() 419 static int sel_release_policy(struct inode *inode, struct file *filp) in sel_release_policy() 1222 struct inode *inode = NULL; in sel_make_bools() local 1439 static int sel_open_avc_cache_stats(struct inode *inode, struct file *file) in sel_open_avc_cache_stats() 1465 struct inode *inode; in sel_make_avc_files() local 1511 struct inode *inode; in sel_make_initcon_files() local 1607 struct inode *inode; in sel_make_perm_files() local 1637 struct inode *inode = NULL; in sel_make_class_dir_entries() local 1728 struct inode *inode = NULL; in sel_make_policycap() local [all …]
|
D | hooks.c | 212 static int inode_alloc_security(struct inode *inode) in inode_alloc_security() 240 static void inode_free_security(struct inode *inode) in inode_free_security() 325 static inline int inode_doinit(struct inode *inode) in inode_doinit() 452 struct inode *inode = isec->inode; in sb_finish_set_opts() local 591 struct inode *inode = sbsec->sb->s_root->d_inode; in selinux_set_mnt_opts() local 1224 static int inode_doinit_with_dentry(struct inode *inode, struct dentry *opt_dentry) in inode_doinit_with_dentry() 1550 struct inode *inode, in inode_has_perm() 1576 struct inode *inode = dentry->d_inode; in dentry_has_perm() local 1591 struct inode *inode = path->dentry->d_inode; in path_has_perm() local 1612 struct inode *inode = file_inode(file); in file_has_perm() local [all …]
|
/security/smack/ |
D | smack_lsm.c | 327 struct inode *inode = root->d_inode; in smack_sb_kern_mount() local 459 struct inode *inode = file_inode(bprm->file); in smack_bprm_set_creds() local 525 static int smack_inode_alloc_security(struct inode *inode) in smack_inode_alloc_security() 539 static void smack_inode_free_security(struct inode *inode) in smack_inode_free_security() 556 static int smack_inode_init_security(struct inode *inode, struct inode *dir, in smack_inode_init_security() 740 static int smack_inode_permission(struct inode *inode, int mask) in smack_inode_permission() 958 static int smack_inode_getsecurity(const struct inode *inode, in smack_inode_getsecurity() 1015 static int smack_inode_listsecurity(struct inode *inode, char *buffer, in smack_inode_listsecurity() 1032 static void smack_inode_getsecid(const struct inode *inode, u32 *secid) in smack_inode_getsecid() 1490 struct inode *inode) in smack_kernel_create_files_as() [all …]
|
D | smackfs.c | 645 static int smk_open_load(struct inode *inode, struct file *file) in smk_open_load() 816 static int smk_open_cipso(struct inode *inode, struct file *file) in smk_open_cipso() 994 static int smk_open_cipso2(struct inode *inode, struct file *file) in smk_open_cipso2() 1073 static int smk_open_netlbladdr(struct inode *inode, struct file *file) in smk_open_netlbladdr() 1800 static int smk_open_load_self(struct inode *inode, struct file *file) in smk_open_load_self() 1931 static int smk_open_load2(struct inode *inode, struct file *file) in smk_open_load2() 2008 static int smk_open_load_self2(struct inode *inode, struct file *file) in smk_open_load_self2()
|
/security/apparmor/include/ |
D | apparmor.h | 99 static inline bool mediated_filesystem(struct inode *inode) in mediated_filesystem()
|
/security/keys/ |
D | proc.c | 105 static int proc_keys_open(struct inode *inode, struct file *file) in proc_keys_open() 299 static int proc_key_users_open(struct inode *inode, struct file *file) in proc_key_users_open()
|
/security/apparmor/ |
D | apparmorfs.c | 172 static int aa_fs_seq_open(struct inode *inode, struct file *file) in aa_fs_seq_open()
|