Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 3 of 3) sorted by relevance

/security/
Ddevice_cgroup.c236 static void set_access(char *acc, short access) in set_access() argument
239 memset(acc, 0, ACCLEN); in set_access()
241 acc[idx++] = 'r'; in set_access()
243 acc[idx++] = 'w'; in set_access()
245 acc[idx++] = 'm'; in set_access()
271 char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; in devcgroup_seq_show() local
281 set_access(acc, DEVCG_ACC_MASK); in devcgroup_seq_show()
285 maj, min, acc); in devcgroup_seq_show()
288 set_access(acc, ex->access); in devcgroup_seq_show()
292 maj, min, acc); in devcgroup_seq_show()
/security/keys/
Dkeyring.c170 u64 acc; in hash_key_type_and_desc() local
174 acc = mult_64x32_and_fold(type, desc_len + 13); in hash_key_type_and_desc()
175 acc = mult_64x32_and_fold(acc, 9207); in hash_key_type_and_desc()
177 acc = mult_64x32_and_fold(acc, piece); in hash_key_type_and_desc()
178 acc = mult_64x32_and_fold(acc, 9207); in hash_key_type_and_desc()
190 acc = mult_64x32_and_fold(acc, piece); in hash_key_type_and_desc()
191 acc = mult_64x32_and_fold(acc, 9207); in hash_key_type_and_desc()
195 hash = acc; in hash_key_type_and_desc()
197 hash ^= acc >> 32; in hash_key_type_and_desc()
/security/smack/
Dsmack_lsm.c123 char acc[SMK_NUM_ACCESS_TYPE + 1]; in smk_bu_note() local
130 smk_bu_mode(mode, acc); in smk_bu_note()
132 sskp->smk_known, oskp->smk_known, acc, note); in smk_bu_note()
144 char acc[SMK_NUM_ACCESS_TYPE + 1]; in smk_bu_current() local
151 smk_bu_mode(mode, acc); in smk_bu_current()
154 acc, current->comm, note); in smk_bu_current()
166 char acc[SMK_NUM_ACCESS_TYPE + 1]; in smk_bu_task() local
173 smk_bu_mode(mode, acc); in smk_bu_task()
175 tsp->smk_task->smk_known, smk_task->smk_known, acc, in smk_bu_task()
188 char acc[SMK_NUM_ACCESS_TYPE + 1]; in smk_bu_inode() local
[all …]