/security/selinux/ss/ |
D | policydb.c | 967 __le32 buf[2]; in mls_read_range_helper() local 1028 __le32 buf[3]; in context_read_and_validate() local 1092 __le32 buf[2]; in perm_read() local 1124 __le32 buf[4]; in common_read() local 1172 __le32 buf[1]; in type_set_read() local 1195 __le32 buf[3]; in read_cons_helper() local 1289 __le32 buf[6]; in class_read() local 1384 __le32 buf[3]; in role_read() local 1440 __le32 buf[4]; in type_read() local 1489 __le32 buf[1]; in mls_read_level() local [all …]
|
D | conditional.c | 220 __le32 buf[3]; in cond_read_bool() local 352 __le32 buf[1]; in cond_read_av_list() local 397 __le32 buf[2]; in cond_read_node() local 452 __le32 buf[1]; in cond_read_list() local 495 __le32 buf[3]; in cond_write_bool() local 524 __le32 buf[1]; in cond_write_av_list() local 554 __le32 buf[2]; in cond_write_node() local 593 __le32 buf[1]; in cond_write_list() local
|
D | ebitmap.c | 353 __le32 buf[3]; in ebitmap_read() local 456 __le32 buf[3]; in ebitmap_write() local
|
D | avtab.c | 558 __le32 buf[1]; in avtab_read() local 639 __le32 buf[1]; in avtab_write() local
|
/security/selinux/ |
D | selinuxfs.c | 121 static ssize_t sel_read_enforce(struct file *filp, char __user *buf, in sel_read_enforce() 134 static ssize_t sel_write_enforce(struct file *file, const char __user *buf, in sel_write_enforce() 199 static ssize_t sel_read_handle_unknown(struct file *filp, char __user *buf, in sel_read_handle_unknown() 233 static ssize_t sel_read_handle_status(struct file *filp, char __user *buf, in sel_read_handle_status() 275 static ssize_t sel_write_disable(struct file *file, const char __user *buf, in sel_write_disable() 327 static ssize_t sel_read_policyvers(struct file *filp, char __user *buf, in sel_read_policyvers() 351 static ssize_t sel_read_mls(struct file *filp, char __user *buf, in sel_read_mls() 440 static ssize_t sel_read_policy(struct file *filp, char __user *buf, in sel_read_policy() 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() [all …]
|
/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() 657 static ssize_t smk_write_load(struct file *file, const char __user *buf, in smk_write_load() 829 static ssize_t smk_set_cipso(struct file *file, const char __user *buf, in smk_set_cipso() 946 static ssize_t smk_write_cipso(struct file *file, const char __user *buf, in smk_write_cipso() 1020 static ssize_t smk_write_cipso2(struct file *file, const char __user *buf, in smk_write_cipso2() 1139 static ssize_t smk_write_net4addr(struct file *file, const char __user *buf, in smk_write_net4addr() 1402 static ssize_t smk_write_net6addr(struct file *file, const char __user *buf, in smk_write_net6addr() 1566 static ssize_t smk_read_doi(struct file *filp, char __user *buf, in smk_read_doi() 1590 static ssize_t smk_write_doi(struct file *file, const char __user *buf, in smk_write_doi() 1632 static ssize_t smk_read_direct(struct file *filp, char __user *buf, in smk_read_direct() [all …]
|
/security/integrity/evm/ |
D | evm_secfs.c | 41 static ssize_t evm_read_key(struct file *filp, char __user *buf, in evm_read_key() 68 static ssize_t evm_write_key(struct file *file, const char __user *buf, in evm_write_key() 129 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf, in evm_read_xattrs() 175 static ssize_t evm_write_xattrs(struct file *file, const char __user *buf, in evm_write_xattrs()
|
/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() 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 | 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
|
D | realpath.c | 237 char *buf = NULL; in tomoyo_realpath_from_path() local 307 char *buf = tomoyo_realpath_from_path(&path); in tomoyo_realpath_nofollow() local
|
D | audit.c | 247 char *buf = NULL; in tomoyo_init_log() local 368 char *buf; in tomoyo_write_log2() local
|
D | network.c | 124 void tomoyo_print_ip(char *buf, const unsigned int size, in tomoyo_print_ip() 381 char buf[128]; in tomoyo_audit_inet_log() local 553 char *buf = address->unix0.addr; in tomoyo_unix_entry() local
|
/security/safesetid/ |
D | securityfs.c | 30 static int parse_policy_line(struct file *file, char *buf, in parse_policy_line() 114 char *buf, *p, *end; in handle_policy_update() local 196 const char __user *buf, in safesetid_file_write() 209 static ssize_t safesetid_file_read(struct file *file, char __user *buf, in safesetid_file_read()
|
/security/keys/ |
D | big_key.c | 100 static int big_key_crypt(enum big_key_op op, struct big_key_buf *buf, size_t datalen, u8 *key) in big_key_crypt() 139 static void big_key_free_buffer(struct big_key_buf *buf) in big_key_free_buffer() 161 struct big_key_buf *buf; in big_key_alloc_buffer() local 202 struct big_key_buf *buf; in big_key_preparse() local 364 struct big_key_buf *buf; in big_key_read() local
|
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
|
D | persistent.c | 79 char buf[32]; in key_get_persistent() local
|
/security/apparmor/ |
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()
|
D | apparmorfs.c | 413 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update() 442 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load() 459 static ssize_t profile_replace(struct file *f, const char __user *buf, in profile_replace() 476 static ssize_t profile_remove(struct file *f, const char __user *buf, in profile_remove() 533 static ssize_t ns_revision_read(struct file *file, char __user *buf, in ns_revision_read() 660 static ssize_t query_data(char *buf, size_t buf_len, in query_data() 753 static ssize_t query_label(char *buf, size_t buf_len, in query_label() 860 const char __user *buf, in multi_transaction_new() 880 static ssize_t multi_transaction_read(struct file *file, char __user *buf, in multi_transaction_read() 1290 static ssize_t rawdata_read(struct file *file, char __user *buf, size_t size, in rawdata_read()
|
/security/integrity/ima/ |
D | ima_fs.c | 42 static ssize_t ima_show_htable_value(char __user *buf, size_t count, in ima_show_htable_value() 53 char __user *buf, in ima_show_htable_violations() 65 char __user *buf, in ima_show_measurements_count() 312 static ssize_t ima_write_policy(struct file *file, const char __user *buf, in ima_write_policy()
|
D | ima_crypto.c | 521 static int calc_buffer_ahash_atfm(const void *buf, loff_t len, in calc_buffer_ahash_atfm() 561 static int calc_buffer_ahash(const void *buf, loff_t len, in calc_buffer_ahash() 578 static int calc_buffer_shash_tfm(const void *buf, loff_t size, in calc_buffer_shash_tfm() 608 static int calc_buffer_shash(const void *buf, loff_t len, in calc_buffer_shash() 624 int ima_calc_buffer_hash(const void *buf, loff_t len, in ima_calc_buffer_hash()
|
D | ima_modsig.c | 60 int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, in ima_read_modsig() 120 void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size) in ima_collect_modsig()
|
D | ima_main.c | 194 u32 secid, char *buf, loff_t size, int mask, in process_measurement() 560 int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file() 652 static void process_buffer_measurement(const void *buf, int size, in process_buffer_measurement() 705 void ima_kexec_cmdline(const void *buf, int size) in ima_kexec_cmdline()
|
D | ima.h | 66 const void *buf; member 332 static inline int ima_read_modsig(enum ima_hooks func, const void *buf, in ima_read_modsig() 338 static inline void ima_collect_modsig(struct modsig *modsig, const void *buf, in ima_collect_modsig()
|
/security/lockdown/ |
D | lockdown.c | 119 static ssize_t lockdown_read(struct file *filp, char __user *buf, size_t count, in lockdown_read() 145 static ssize_t lockdown_write(struct file *file, const char __user *buf, in lockdown_write()
|
/security/integrity/ |
D | iint.c | 229 char __user *buf = (char __user *)addr; in integrity_kernel_read() local
|