Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 55) sorted by relevance

123

/security/apparmor/
Dpolicy_unpack_test.c189 size_t size; in policy_unpack_test_unpack_blob_with_null_name() local
203 size_t size; in policy_unpack_test_unpack_blob_with_name() local
218 int size; in policy_unpack_test_unpack_blob_out_of_bounds() local
235 size_t size; in policy_unpack_test_unpack_str_with_null_name() local
248 size_t size; in policy_unpack_test_unpack_str_with_name() local
261 int size; in policy_unpack_test_unpack_str_out_of_bounds() local
276 size_t size; in policy_unpack_test_unpack_strdup_with_null_name() local
292 size_t size; in policy_unpack_test_unpack_strdup_with_name() local
308 int size; in policy_unpack_test_unpack_strdup_out_of_bounds() local
382 size_t size; in policy_unpack_test_unpack_u16_chunk_basic() local
[all …]
Dpolicy_unpack.c182 struct aa_loaddata *aa_loaddata_alloc(size_t size) in aa_loaddata_alloc()
201 static bool inbounds(struct aa_ext *e, size_t size) in inbounds()
224 size_t size = 0; in unpack_u16_chunk() local
281 size_t size = unpack_u16_chunk(e, &tag); in unpack_nameX() local
358 int size; in unpack_array() local
376 u32 size; in unpack_blob() local
396 size_t size = 0; in unpack_str() local
445 size_t size; in unpack_dfa() local
483 int i, size; in unpack_trans_table() local
551 int i, size; in unpack_xattrs() local
[all …]
Dapparmorfs.c84 static struct rawdata_f_data *rawdata_f_data_alloc(size_t size) in rawdata_f_data_alloc()
411 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update()
440 static ssize_t profile_load(struct file *f, const char __user *buf, size_t size, in profile_load()
458 size_t size, loff_t *pos) in profile_replace()
475 size_t size, loff_t *pos) in profile_remove()
532 size_t size, loff_t *ppos) in ns_revision_read()
810 ssize_t size; member
859 size_t size) in multi_transaction_new()
879 size_t size, loff_t *pos) in multi_transaction_read()
1109 unsigned int i, size = aa_hash_size(); in seq_profile_hash_show() local
[all …]
Dprocattr.c102 int aa_setprocattr_changehat(char *args, size_t size, int flags) in aa_setprocattr_changehat()
Dlabel.c396 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp) in aa_label_init()
421 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp) in aa_label_alloc()
1487 #define update_for_len(total, len, size, str) \ argument
1512 static int aa_profile_snxprint(char *str, size_t size, struct aa_ns *view, in aa_profile_snxprint()
1623 int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, in aa_label_snxprint()
1690 int size; in aa_label_asxprint() local
1719 int size; in aa_label_acntsxprint() local
/security/selinux/ss/
Dsymtab.c15 unsigned int size; in symhash() local
40 int symtab_init(struct symtab *s, unsigned int size) in symtab_init()
Dservices.h22 u16 size; /* array size of mapping */ member
Dhashtab.h34 u32 size; /* number of slots in hash table */ member
/security/
Dcommoncap.c345 static bool is_v2header(size_t size, const struct vfs_cap_data *cap) in is_v2header()
352 static bool is_v3header(size_t size, const struct vfs_cap_data *cap) in is_v3header()
373 int size, ret; in cap_inode_getsecurity() local
475 static kuid_t rootid_from_xattr(const void *value, size_t size, in rootid_from_xattr()
487 static bool validheader(size_t size, const struct vfs_cap_data *cap) in validheader()
498 int cap_convert_nscap(struct dentry *dentry, void **ivalue, size_t size) in cap_convert_nscap()
598 int size; in get_vfs_caps_from_disk() local
937 const void *value, size_t size, int flags) in cap_inode_setxattr()
/security/integrity/platform_certs/
Dload_uefi.c54 unsigned long size = sizeof(db); in uefi_check_ignore_db() local
65 unsigned long *size, efi_status_t *status) in get_cert_list()
Dload_powerpc.c21 static __init void *get_cert_list(u8 *key, unsigned long keylen, uint64_t *size) in get_cert_list()
Defi_parser.c39 const void *data, size_t size, in parse_efi_signature_list()
/security/integrity/ima/
Dima_main.c198 u32 secid, char *buf, loff_t size, int mask, in process_measurement()
695 int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file()
783 int ima_post_load_data(char *buf, loff_t size, in ima_post_load_data()
811 void process_buffer_measurement(struct inode *inode, const void *buf, int size, in process_buffer_measurement()
905 void ima_kexec_cmdline(int kernel_fd, const void *buf, int size) in ima_kexec_cmdline()
Dima_queue.c76 int size = 0; in get_binary_runtime_size() local
116 int size; in ima_add_digest_entry() local
Dima_crypto.c36 unsigned long long size; in param_set_bufsize() local
283 static void ima_free_pages(void *ptr, size_t size) in ima_free_pages()
720 static int calc_buffer_shash_tfm(const void *buf, loff_t size, in calc_buffer_shash_tfm()
Dima_fs.c208 void ima_print_digest(struct seq_file *m, u8 *digest, u32 size) in ima_print_digest()
278 size_t size; in ima_read_policy() local
Dima_modsig.c100 void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size) in ima_collect_modsig()
/security/integrity/
Ddigsig.c151 off_t size, key_perm_t perm) in integrity_add_key()
178 size_t size; in integrity_load_x509() local
/security/apparmor/include/
Ddomain.h20 int size; member
Dpolicy.h88 u32 size; member
143 int size; member
/security/tomoyo/
Dnetwork.c124 void tomoyo_print_ip(char *buf, const unsigned int size, in tomoyo_print_ip()
424 const u8 size = r->param.inet_network.is_ipv6 ? 16 : 4; in tomoyo_check_inet_acl() local
759 int size) in tomoyo_socket_sendmsg_permission()
Dmemory.c74 void *tomoyo_commit_ok(void *data, const unsigned int size) in tomoyo_commit_ok()
Dgroup.c194 const u8 size = is_ipv6 ? 16 : 4; in tomoyo_address_matches_group() local
/security/selinux/
Dselinuxfs.c251 unsigned long size = vma->vm_end - vma->vm_start; in sel_mmap_handle_status() local
676 static ssize_t sel_write_context(struct file *file, char *buf, size_t size) in sel_write_context()
871 static ssize_t selinux_transaction_write(struct file *file, const char __user *buf, size_t size, lo… in selinux_transaction_write()
905 static ssize_t sel_write_access(struct file *file, char *buf, size_t size) in sel_write_access()
956 static ssize_t sel_write_create(struct file *file, char *buf, size_t size) in sel_write_create()
1060 static ssize_t sel_write_relabel(struct file *file, char *buf, size_t size) in sel_write_relabel()
1121 static ssize_t sel_write_user(struct file *file, char *buf, size_t size) in sel_write_user()
1186 static ssize_t sel_write_member(struct file *file, char *buf, size_t size) in sel_write_member()
Dnetport.c39 int size; member

123