/security/tomoyo/ |
D | securityfs_if.c | 41 static ssize_t tomoyo_write_self(struct file *file, const char __user *buf, in tomoyo_write_self() 100 static ssize_t tomoyo_read_self(struct file *file, char __user *buf, in tomoyo_read_self() 132 static int tomoyo_open(struct inode *inode, struct file *file) in tomoyo_open() 145 static int tomoyo_release(struct inode *inode, struct file *file) in tomoyo_release() 160 static __poll_t tomoyo_poll(struct file *file, poll_table *wait) in tomoyo_poll() 175 static ssize_t tomoyo_read(struct file *file, char __user *buf, size_t count, in tomoyo_read() 191 static ssize_t tomoyo_write(struct file *file, const char __user *buf, in tomoyo_write()
|
D | audit.c | 261 struct file *file = r->ee->bprm->file; in tomoyo_init_log() local 470 __poll_t tomoyo_poll_log(struct file *file, poll_table *wait) in tomoyo_poll_log()
|
D | tomoyo.c | 297 static int tomoyo_file_fcntl(struct file *file, unsigned int cmd, in tomoyo_file_fcntl() 332 static int tomoyo_file_ioctl(struct file *file, unsigned int cmd, in tomoyo_file_ioctl()
|
/security/integrity/ima/ |
D | ima_main.c | 76 static int mmap_violation_check(enum ima_hooks func, struct file *file, in mmap_violation_check() 106 static void ima_rdwr_violation_check(struct file *file, in ima_rdwr_violation_check() 147 struct inode *inode, struct file *file) in ima_check_last_writer() 177 void ima_file_free(struct file *file) in ima_file_free() 192 static int process_measurement(struct file *file, const struct cred *cred, in process_measurement() 381 int ima_file_mmap(struct file *file, unsigned long prot) in ima_file_mmap() 433 int ima_file_check(struct file *file, int mask) in ima_file_check() 508 int ima_read_file(struct file *file, enum kernel_read_file_id read_id) in ima_read_file() 543 int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file()
|
D | ima_fs.c | 197 static int ima_measurements_open(struct inode *inode, struct file *file) in ima_measurements_open() 263 static int ima_ascii_measurements_open(struct inode *inode, struct file *file) in ima_ascii_measurements_open() 312 static ssize_t ima_write_policy(struct file *file, const char __user *buf, in ima_write_policy() 409 static int ima_release_policy(struct inode *inode, struct file *file) in ima_release_policy()
|
D | ima_crypto.c | 204 static int ima_calc_file_hash_atfm(struct file *file, in ima_calc_file_hash_atfm() 315 static int ima_calc_file_ahash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_ahash() 331 static int ima_calc_file_hash_tfm(struct file *file, in ima_calc_file_hash_tfm() 380 static int ima_calc_file_shash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_shash() 409 int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_hash()
|
D | ima_api.c | 132 void ima_add_violation(struct file *file, const unsigned char *filename, in ima_add_violation() 207 struct file *file, void *buf, loff_t size, in ima_collect_measurement() 294 struct file *file, const unsigned char *filename, in ima_store_measurement()
|
D | ima_kexec.c | 21 struct seq_file file; in ima_dump_measurement_list() local
|
D | ima_appraise.c | 316 struct file *file, const unsigned char *filename, in ima_appraise_measurement() 425 void ima_update_xattr(struct integrity_iint_cache *iint, struct file *file) in ima_update_xattr()
|
D | ima.h | 59 struct file *file; member 273 struct file *file, in ima_appraise_measurement() 289 struct file *file) in ima_update_xattr()
|
/security/smack/ |
D | smackfs.c | 443 static ssize_t smk_write_rules_list(struct file *file, const char __user *buf, in smk_write_rules_list() 644 static int smk_open_load(struct inode *inode, struct file *file) in smk_open_load() 657 static ssize_t smk_write_load(struct file *file, const char __user *buf, in smk_write_load() 815 static int smk_open_cipso(struct inode *inode, struct file *file) in smk_open_cipso() 831 static ssize_t smk_set_cipso(struct file *file, const char __user *buf, in smk_set_cipso() 929 static ssize_t smk_write_cipso(struct file *file, const char __user *buf, in smk_write_cipso() 988 static int smk_open_cipso2(struct inode *inode, struct file *file) in smk_open_cipso2() 1003 static ssize_t smk_write_cipso2(struct file *file, const char __user *buf, in smk_write_cipso2() 1064 static int smk_open_net4addr(struct inode *inode, struct file *file) in smk_open_net4addr() 1122 static ssize_t smk_write_net4addr(struct file *file, const char __user *buf, in smk_write_net4addr() [all …]
|
D | smack_lsm.c | 214 static int smk_bu_file(struct file *file, int mode, int rc) in smk_bu_file() 239 #define smk_bu_file(file, mode, RC) (RC) argument 243 static int smk_bu_credfile(const struct cred *cred, struct file *file, in smk_bu_credfile() 269 #define smk_bu_credfile(cred, file, mode, RC) (RC) argument 1536 static int smack_file_alloc_security(struct file *file) in smack_file_alloc_security() 1554 static int smack_file_ioctl(struct file *file, unsigned int cmd, in smack_file_ioctl() 1587 static int smack_file_lock(struct file *file, unsigned int cmd) in smack_file_lock() 1615 static int smack_file_fcntl(struct file *file, unsigned int cmd, in smack_file_fcntl() 1659 static int smack_mmap_file(struct file *file, in smack_mmap_file() 1766 static void smack_file_set_fowner(struct file *file) in smack_file_set_fowner() [all …]
|
/security/safesetid/ |
D | securityfs.c | 30 static int parse_policy_line(struct file *file, char *buf, in parse_policy_line() 110 static ssize_t handle_policy_update(struct file *file, in handle_policy_update() 195 static ssize_t safesetid_file_write(struct file *file, in safesetid_file_write() 209 static ssize_t safesetid_file_read(struct file *file, char __user *buf, in safesetid_file_read()
|
/security/apparmor/ |
D | apparmorfs.c | 520 static int ns_revision_release(struct inode *inode, struct file *file) in ns_revision_release() 532 static ssize_t ns_revision_read(struct file *file, char __user *buf, in ns_revision_read() 563 static int ns_revision_open(struct inode *inode, struct file *file) in ns_revision_open() 578 static __poll_t ns_revision_poll(struct file *file, poll_table *pt) in ns_revision_poll() 843 static void multi_transaction_set(struct file *file, in multi_transaction_set() 858 static struct multi_transaction *multi_transaction_new(struct file *file, in multi_transaction_new() 877 static ssize_t multi_transaction_read(struct file *file, char __user *buf, in multi_transaction_read() 895 static int multi_transaction_release(struct inode *inode, struct file *file) in multi_transaction_release() 932 static ssize_t aa_write_access(struct file *file, const char __user *ubuf, in aa_write_access() 1011 static int aa_sfs_seq_open(struct inode *inode, struct file *file) in aa_sfs_seq_open() [all …]
|
D | file.c | 509 struct aa_label *flabel, struct file *file, in __file_path_perm() 562 struct aa_label *flabel, struct file *file, in __file_sock_perm() 596 int aa_file_perm(const char *op, struct aa_label *label, struct file *file, in aa_file_perm() 652 struct file *file; in revalidate_tty() local 668 static int match_file(const void *p, struct file *file, unsigned int fd) in match_file()
|
D | lsm.c | 392 static int apparmor_file_open(struct file *file) in apparmor_file_open() 426 static int apparmor_file_alloc_security(struct file *file) in apparmor_file_alloc_security() 437 static void apparmor_file_free_security(struct file *file) in apparmor_file_free_security() 445 static int common_file_perm(const char *op, struct file *file, u32 mask) in common_file_perm() 461 static int apparmor_file_receive(struct file *file) in apparmor_file_receive() 466 static int apparmor_file_permission(struct file *file, int mask) in apparmor_file_permission() 471 static int apparmor_file_lock(struct file *file, unsigned int cmd) in apparmor_file_lock() 481 static int common_mmap(const char *op, struct file *file, unsigned long prot, in common_mmap() 503 static int apparmor_mmap_file(struct file *file, unsigned long reqprot, in apparmor_mmap_file()
|
/security/selinux/ |
D | selinuxfs.c | 134 static ssize_t sel_write_enforce(struct file *file, const char __user *buf, in sel_write_enforce() 275 static ssize_t sel_write_disable(struct file *file, const char __user *buf, in sel_write_disable() 530 static ssize_t sel_write_load(struct file *file, const char __user *buf, in sel_write_load() 592 static ssize_t sel_write_context(struct file *file, char *buf, size_t size) in sel_write_context() 639 static ssize_t sel_write_checkreqprot(struct file *file, const char __user *buf, in sel_write_checkreqprot() 681 static ssize_t sel_write_validatetrans(struct file *file, in sel_write_validatetrans() 778 static ssize_t selinux_transaction_write(struct file *file, const char __user *buf, size_t size, lo… in selinux_transaction_write() 812 static ssize_t sel_write_access(struct file *file, char *buf, size_t size) in sel_write_access() 863 static ssize_t sel_write_create(struct file *file, char *buf, size_t size) in sel_write_create() 967 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size) in sel_write_relabel() [all …]
|
D | hooks.c | 357 static int file_alloc_security(struct file *file) in file_alloc_security() 1726 struct file *file, in file_path_has_perm() 1749 struct file *file, in file_has_perm() 2009 static inline u32 file_to_av(struct file *file) in file_to_av() 2035 static inline u32 open_file_to_av(struct file *file) in open_file_to_av() 2093 struct file *file) in selinux_binder_transfer_file() 2449 static int match_file(const void *p, struct file *file, unsigned fd) in match_file() 2458 struct file *file, *devnull = NULL; in flush_unauthorized_files() local 3514 static int selinux_revalidate_file_permission(struct file *file, int mask) in selinux_revalidate_file_permission() 3527 static int selinux_file_permission(struct file *file, int mask) in selinux_file_permission() [all …]
|
/security/loadpin/ |
D | loadpin.c | 20 static void report_load(const char *origin, struct file *file, char *operation) in report_load() 119 static int loadpin_read_file(struct file *file, enum kernel_read_file_id id) in loadpin_read_file()
|
/security/integrity/evm/ |
D | evm_secfs.c | 68 static ssize_t evm_write_key(struct file *file, const char __user *buf, in evm_write_key() 174 static ssize_t evm_write_xattrs(struct file *file, const char __user *buf, in evm_write_xattrs()
|
/security/apparmor/include/ |
D | file.h | 31 static inline struct aa_file_ctx *file_ctx(struct file *file) in file_ctx() 216 static inline u32 aa_map_file_to_perms(struct file *file) in aa_map_file_to_perms()
|
/security/keys/ |
D | big_key.c | 204 struct file *file; in big_key_preparse() local 366 struct file *file; in big_key_read() local
|
/security/ |
D | security.c | 528 static int lsm_file_alloc(struct file *file) in lsm_file_alloc() 691 struct task_struct *to, struct file *file) in security_binder_transfer_file() 1372 int security_file_permission(struct file *file, int mask) in security_file_permission() 1383 int security_file_alloc(struct file *file) in security_file_alloc() 1395 void security_file_free(struct file *file) in security_file_free() 1408 int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in security_file_ioctl() 1413 static inline unsigned long mmap_prot(struct file *file, unsigned long prot) in mmap_prot() 1446 int security_mmap_file(struct file *file, unsigned long prot, in security_mmap_file() 1468 int security_file_lock(struct file *file, unsigned int cmd) in security_file_lock() 1473 int security_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg) in security_file_fcntl() [all …]
|
/security/integrity/ |
D | iint.c | 188 int integrity_kernel_read(struct file *file, loff_t offset, in integrity_kernel_read()
|
/security/lockdown/ |
D | lockdown.c | 141 static ssize_t lockdown_write(struct file *file, const char __user *buf, in lockdown_write()
|