Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 53) sorted by relevance

123

/security/selinux/ss/
Dconditional.c221 u32 len; in cond_read_bool() local
353 u32 len; in cond_read_av_list() local
398 u32 len, i; in cond_read_node() local
453 u32 i, len; in cond_read_list() local
496 u32 len; in cond_write_bool() local
526 u32 len; in cond_write_av_list() local
556 u32 len = 0; in cond_write_node() local
592 u32 len; in cond_write_list() local
Dpolicydb.c1064 static int str_read(char **strp, gfp_t flags, void *fp, u32 len) in str_read()
1093 u32 len; in perm_read() local
1125 u32 len, nel; in common_read() local
1290 u32 len, len2, ncons, nel; in class_read() local
1385 u32 len; in role_read() local
1441 u32 len; in type_read() local
1515 u32 len; in user_read() local
1565 u32 len; in sens_read() local
1606 u32 len; in cat_read() local
1883 u32 nel, len; in filename_trans_read() local
[all …]
Dservices.c1468 int len; in context_add_hash() local
1948 u32 len; in convert_context_handle_invalid_context() local
1983 u32 len; in convert_context() local
2140 int security_load_policy(struct selinux_state *state, void *data, size_t len) in security_load_policy()
2300 size_t len; in security_policydb_len() local
2728 int len; in __security_genfs_sid() local
2848 int *len, char ***names, int **values) in security_get_bools()
2905 int security_set_bools(struct selinux_state *state, int len, int *values) in security_set_bools()
2962 int len; in security_get_bool_value() local
3024 u32 len; in security_sid_mls_copy() local
[all …]
Dcontext.h31 u32 len; /* length of string in bytes */ member
/security/apparmor/include/
Dcrypto.h21 static inline char *aa_calc_hash(void *data, size_t len) in aa_calc_hash()
26 void *start, size_t len) in aa_calc_profile_hash()
Dlib.h66 static inline bool aa_strneq(const char *str, const char *sub, int len) in aa_strneq()
187 const char *str, int len) in __policy_strn_find()
Dmatch.h115 static inline size_t table_size(size_t len, size_t el_size) in table_size()
141 unsigned int len; member
/security/apparmor/
Dcrypto.c28 char *aa_calc_hash(void *data, size_t len) in aa_calc_hash()
62 size_t len) in aa_calc_profile_hash()
Dlabel.c826 int len, gfp_t gfp) in vec_create_and_insert_label()
859 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, in aa_vec_find_or_create_label()
1459 #define update_for_len(total, len, size, str) \ argument
1602 ssize_t len; in aa_label_snxprint() local
1712 int len; in aa_label_xaudit() local
1745 int len; in aa_label_seq_xprint() local
1768 int len; in aa_label_xprintk() local
1863 int i, len, stack = 0, error; in aa_label_strn_parse() local
Dprocattr.c37 int len; in aa_getprocattr() local
Dsecid.c74 int len; in apparmor_secid_to_secctx() local
/security/integrity/platform_certs/
Dload_uefi.c74 size_t len, const char *type, in uefi_blacklist_hash()
96 const void *data, size_t len) in uefi_blacklist_x509_tbs()
105 const void *data, size_t len) in uefi_blacklist_binary()
Dload_ipl_s390.c21 unsigned int len; in load_ipl_certs() local
Dplatform_keyring.c27 size_t len) in add_to_platform_keyring()
/security/tomoyo/
Dutil.c384 const int len = strlen(find); in tomoyo_str_starts() local
433 static bool tomoyo_correct_word2(const char *string, size_t len) in tomoyo_correct_word2()
566 int len; in tomoyo_domain_def() local
616 int len = 0; in tomoyo_const_part_length() local
658 const int len = strlen(name); in tomoyo_fill_path_info() local
920 const int len = pattern->const_len; in tomoyo_path_matches_pattern() local
Daudit.c29 int len; in tomoyo_print_bprm() local
244 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_init_log()
365 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt, in tomoyo_write_log2()
422 int len; in tomoyo_write_log() local
Dcommon.c196 static void tomoyo_addprintf(char *buffer, int len, const char *fmt, ...) in tomoyo_addprintf()
217 size_t len = strlen(w); in tomoyo_flush() local
281 size_t len; in tomoyo_io_printf() local
607 int len = 0; in tomoyo_set_mode() local
2006 int len; in tomoyo_add_entry() local
2063 int len; in tomoyo_supervisor() local
2206 size_t len = 0; in tomoyo_read_query() local
2588 int len; in tomoyo_read_control() local
2679 const int len = head->writebuf_size * 2; in tomoyo_write_control() local
Ddomain.c439 (const char *name, const unsigned int len) in tomoyo_find_namespace()
467 unsigned int len = 0; in tomoyo_assign_namespace() local
508 const int len = strlen(namespace); in tomoyo_namespace_jump() local
Dmemory.c156 int len; in tomoyo_get_name() local
/security/selinux/
Dnetlink.c43 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload()
69 int len; in selnl_notify() local
Dselinuxfs.c369 size_t len; member
597 u32 sid, len; in sel_write_context() local
873 u32 len; in sel_write_create() local
976 u32 len; in sel_write_relabel() local
1037 u32 len, nsids; in sel_write_user() local
1102 u32 len; in sel_write_member() local
1329 ssize_t len; in sel_make_bools() local
1668 u32 sid, len; in sel_read_initcon() local
1736 ssize_t len = snprintf(res, sizeof(res), "%d", sel_ino_to_class(ino)); in sel_read_class() local
1750 ssize_t len = snprintf(res, sizeof(res), "%d", sel_ino_to_perm(ino)); in sel_read_perm() local
/security/safesetid/
Dsecurityfs.c111 const char __user *ubuf, size_t len) in handle_policy_update()
197 size_t len, in safesetid_file_write()
210 size_t len, loff_t *ppos) in safesetid_file_read()
/security/integrity/ima/
Dima_crypto.c531 static int calc_buffer_ahash_atfm(const void *buf, loff_t len, in calc_buffer_ahash_atfm()
571 static int calc_buffer_ahash(const void *buf, loff_t len, in calc_buffer_ahash()
593 unsigned int len; in calc_buffer_shash_tfm() local
618 static int calc_buffer_shash(const void *buf, loff_t len, in calc_buffer_shash()
634 int ima_calc_buffer_hash(const void *buf, loff_t len, in ima_calc_buffer_hash()
/security/smack/
Dsmack_access.c444 char *smk_parse_smack(const char *string, int len) in smk_parse_smack()
486 int len) in smk_netlbl_mls()
522 struct smack_known *smk_import_entry(const char *string, int len) in smk_import_entry()
/security/lockdown/
Dlockdown.c145 int i, len, err = -EINVAL; in lockdown_write() local

123