Home
last modified time | relevance | path

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

/security/selinux/ss/
Dsymtab.c13 const char *p, *keyp; in symhash() local
18 keyp = key; in symhash()
19 size = strlen(keyp); in symhash()
20 for (p = keyp; (p - keyp) < size; p++) in symhash()
Davtab.c29 static inline int avtab_hash(struct avtab_key *keyp, u16 mask) in avtab_hash() argument
31 return ((keyp->target_class + (keyp->target_type << 2) + in avtab_hash()
32 (keyp->source_type << 9)) & mask); in avtab_hash()
/security/smack/
Dsmack_lsm.c3185 struct key *keyp; in smack_key_permission() local
3189 keyp = key_ref_to_ptr(key_ref); in smack_key_permission()
3190 if (keyp == NULL) in smack_key_permission()
3196 if (keyp->security == NULL) in smack_key_permission()
3205 ad.a.u.key_struct.key = keyp->serial; in smack_key_permission()
3206 ad.a.u.key_struct.key_desc = keyp->description; in smack_key_permission()
3208 return smk_access(tsp, keyp->security, in smack_key_permission()