| /security/safesetid/ |
| A D | securityfs.c | 31 static int parse_policy_line(struct file *file, char *buf, in parse_policy_line() 143 char *buf, *p, *end; in handle_policy_update() local 239 const char __user *buf, in safesetid_uid_file_write() 253 const char __user *buf, in safesetid_gid_file_write() 266 static ssize_t safesetid_file_read(struct file *file, char __user *buf, in safesetid_file_read() 285 static ssize_t safesetid_uid_file_read(struct file *file, char __user *buf, in safesetid_uid_file_read() 292 static ssize_t safesetid_gid_file_read(struct file *file, char __user *buf, in safesetid_gid_file_read()
|
| /security/selinux/ss/ |
| A D | policydb.c | 1007 __le32 buf[2]; in mls_read_range_helper() local 1067 __le32 buf[3]; in context_read_and_validate() local 1131 __le32 buf[2]; in perm_read() local 1163 __le32 buf[4]; in common_read() local 1213 __le32 buf[1]; in type_set_read() local 1234 __le32 buf[3]; in read_cons_helper() local 1328 __le32 buf[6]; in class_read() local 1427 __le32 buf[3]; in role_read() local 1484 __le32 buf[4]; in type_read() local 1532 __le32 buf[1]; in mls_read_level() local [all …]
|
| A D | conditional.c | 213 __le32 buf[3]; in cond_read_bool() local 325 __le32 buf[1]; in cond_read_av_list() local 374 __le32 buf[2]; in cond_read_node() local 414 __le32 buf[1]; in cond_read_list() local 451 __le32 buf[3]; in cond_write_bool() local 480 __le32 buf[1]; in cond_write_av_list() local 501 __le32 buf[2]; in cond_write_node() local 536 __le32 buf[1]; in cond_write_list() local
|
| A D | ebitmap.c | 370 __le32 buf[3]; in ebitmap_read() local 485 __le32 buf[3]; in ebitmap_write() local
|
| /security/selinux/ |
| A D | selinuxfs.c | 123 static ssize_t sel_read_enforce(struct file *filp, char __user *buf, in sel_read_enforce() 311 static ssize_t sel_read_policyvers(struct file *filp, char __user *buf, in sel_read_policyvers() 342 static ssize_t sel_read_mls(struct file *filp, char __user *buf, in sel_read_mls() 428 static ssize_t sel_read_policy(struct file *filp, char __user *buf, in sel_read_policy() 729 const char __user *buf, in sel_write_validatetrans() 1202 static ssize_t sel_read_bool(struct file *filep, char __user *buf, in sel_read_bool() 1300 const char __user *buf, in sel_commit_bools_write() 1426 const char __user *buf, in sel_write_avc_cache_threshold() 1654 static ssize_t sel_read_initcon(struct file *file, char __user *buf, in sel_read_initcon() 1725 static ssize_t sel_read_class(struct file *file, char __user *buf, in sel_read_class() [all …]
|
| A D | ima.c | 24 char *buf; in selinux_ima_collect_state() local
|
| /security/smack/ |
| A D | smackfs.c | 642 static ssize_t smk_write_load(struct file *file, const char __user *buf, in smk_write_load() 814 static ssize_t smk_set_cipso(struct file *file, const char __user *buf, in smk_set_cipso() 1556 static ssize_t smk_read_doi(struct file *filp, char __user *buf, in smk_read_doi() 1580 static ssize_t smk_write_doi(struct file *file, const char __user *buf, in smk_write_doi() 1622 static ssize_t smk_read_direct(struct file *filp, char __user *buf, in smk_read_direct() 1700 static ssize_t smk_read_mapped(struct file *filp, char __user *buf, in smk_read_mapped() 1778 static ssize_t smk_read_ambient(struct file *filp, char __user *buf, in smk_read_ambient() 2051 static ssize_t smk_read_unconfined(struct file *filp, char __user *buf, in smk_read_unconfined() 2139 static ssize_t smk_read_logging(struct file *filp, char __user *buf, in smk_read_logging() 2609 static ssize_t smk_read_syslog(struct file *filp, char __user *buf, in smk_read_syslog() [all …]
|
| /security/integrity/evm/ |
| A D | evm_secfs.c | 38 static ssize_t evm_read_key(struct file *filp, char __user *buf, in evm_read_key() 65 static ssize_t evm_write_key(struct file *file, const char __user *buf, in evm_write_key() 126 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf, in evm_read_xattrs() 179 static ssize_t evm_write_xattrs(struct file *file, const char __user *buf, in evm_write_xattrs()
|
| /security/tomoyo/ |
| A 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() 176 static ssize_t tomoyo_read(struct file *file, char __user *buf, size_t count, in tomoyo_read() 192 static ssize_t tomoyo_write(struct file *file, const char __user *buf, in tomoyo_write()
|
| A D | file.c | 130 static void tomoyo_add_slash(struct tomoyo_path_info *buf) in tomoyo_add_slash() 149 static bool tomoyo_get_realpath(struct tomoyo_path_info *buf, const struct path *path) in tomoyo_get_realpath() 716 struct tomoyo_path_info buf; in tomoyo_path_number_perm() local 758 struct tomoyo_path_info buf; in tomoyo_check_open_permission() local 810 struct tomoyo_path_info buf; in tomoyo_path_perm() local 867 struct tomoyo_path_info buf; in tomoyo_mkdev_perm() local
|
| A D | realpath.c | 239 char *buf = NULL; in tomoyo_realpath_from_path() local 304 char *buf = tomoyo_realpath_from_path(&path); in tomoyo_realpath_nofollow() local
|
| A D | audit.c | 247 char *buf = NULL; in tomoyo_init_log() local 369 char *buf; in tomoyo_write_log2() local
|
| /security/integrity/ima/ |
| A D | ima_main.c | 237 struct lsm_prop *prop, char *buf, loff_t size, in process_measurement() 638 static int __ima_inode_hash(struct inode *inode, struct file *file, char *buf, in __ima_inode_hash() 715 int ima_file_hash(struct file *file, char *buf, size_t buf_size) in ima_file_hash() 742 int ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) in ima_inode_hash() 878 static int ima_post_read_file(struct file *file, char *buf, loff_t size, in ima_post_read_file() 966 static int ima_post_load_data(char *buf, loff_t size, in ima_post_load_data() 1010 struct inode *inode, const void *buf, int size, in process_buffer_measurement() 1124 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) in ima_kexec_cmdline() 1159 const void *buf, size_t buf_len, in ima_measure_critical_data()
|
| A D | ima_modsig.c | 40 int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, in ima_read_modsig() 100 void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size) in ima_collect_modsig()
|
| A D | ima_fs.c | 41 static ssize_t ima_show_htable_value(char __user *buf, size_t count, in ima_show_htable_value() 52 char __user *buf, in ima_show_htable_violations() 64 char __user *buf, in ima_show_measurements_count() 332 static ssize_t ima_write_policy(struct file *file, const char __user *buf, in ima_write_policy()
|
| A D | ima_crypto.c | 658 static int calc_buffer_ahash_atfm(const void *buf, loff_t len, in calc_buffer_ahash_atfm() 698 static int calc_buffer_ahash(const void *buf, loff_t len, in calc_buffer_ahash() 715 static int calc_buffer_shash_tfm(const void *buf, loff_t size, in calc_buffer_shash_tfm() 745 static int calc_buffer_shash(const void *buf, loff_t len, in calc_buffer_shash() 761 int ima_calc_buffer_hash(const void *buf, loff_t len, in ima_calc_buffer_hash()
|
| /security/keys/trusted-keys/ |
| A D | trusted_tpm2.c | 111 u8 **buf) in tpm2_key_decode() 212 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth() 245 struct tpm_buf buf, sized; in tpm2_seal_trusted() local 390 struct tpm_buf buf; in tpm2_load_cmd() local 494 struct tpm_buf buf; in tpm2_unseal_cmd() local
|
| /security/apparmor/ |
| A D | path.c | 48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() 88 static int d_namespace_path(const struct path *path, char *buf, char **name, in d_namespace_path()
|
| A D | apparmorfs.c | 414 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update() 443 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load() 460 static ssize_t profile_replace(struct file *f, const char __user *buf, in profile_replace() 477 static ssize_t profile_remove(struct file *f, const char __user *buf, in profile_remove() 535 static ssize_t ns_revision_read(struct file *file, char __user *buf, in ns_revision_read() 671 static ssize_t query_data(char *buf, size_t buf_len, in query_data() 764 static ssize_t query_label(char *buf, size_t buf_len, in query_label() 869 const char __user *buf, in multi_transaction_new() 889 static ssize_t multi_transaction_read(struct file *file, char __user *buf, in multi_transaction_read() 1359 static ssize_t rawdata_read(struct file *file, char __user *buf, size_t size, in rawdata_read()
|
| /security/lockdown/ |
| A D | lockdown.c | 96 static ssize_t lockdown_read(struct file *filp, char __user *buf, size_t count, in lockdown_read() 122 static ssize_t lockdown_write(struct file *file, const char __user *buf, in lockdown_write()
|
| /security/keys/ |
| A D | big_key.c | 61 u8 *buf, *enckey; in big_key_preparse() local 238 u8 *buf, *enckey = payload->data; in big_key_read() local
|
| A D | process_keys.c | 83 char buf[20]; in look_up_user_keyrings() local 189 char buf[20]; in get_user_session_keyring_rcu() local
|
| A D | persistent.c | 79 char buf[32]; in key_get_persistent() local
|
| /security/integrity/platform_certs/ |
| A D | load_powerpc.c | 68 char buf[32]; in load_powerpc_certs() local
|
| /security/landlock/ |
| A D | syscalls.c | 130 static ssize_t fop_dummy_read(struct file *const filp, char __user *const buf, in fop_dummy_read() 138 const char __user *const buf, const size_t size, in fop_dummy_write()
|