Home
last modified time | relevance | path

Searched defs:inode (Results 1 – 25 of 30) sorted by relevance

12

/security/integrity/ima/
Dima_api.c42 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
Dima_main.c60 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
Dima_appraise.c37 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()
Dima_fs.c159 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()
Dima_audit.c31 void integrity_audit_msg(int audit_msgno, struct inode *inode, in integrity_audit_msg()
Dima_queue.c107 const char *op, struct inode *inode) in ima_add_template_entry()
Dima.h71 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()
Dima_policy.c165 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/
Diint.c33 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/
Drealpath.c100 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
Dsecurityfs_if.c136 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/
Dlsm_audit.c236 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
Dcapability.c132 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 …]
Dsecurity.c335 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 …]
Dcommoncap.c321 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
Dinode.c88 struct inode *dir, *inode; in securityfs_create_file() local
/security/integrity/evm/
Devm_crypto.c95 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()
Devm_main.c56 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/
Dselinuxfs.c218 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 …]
Dhooks.c212 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/
Dsmack_lsm.c327 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 …]
Dsmackfs.c645 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/
Dapparmor.h99 static inline bool mediated_filesystem(struct inode *inode) in mediated_filesystem()
/security/keys/
Dproc.c105 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/
Dapparmorfs.c172 static int aa_fs_seq_open(struct inode *inode, struct file *file) in aa_fs_seq_open()

12