Home
last modified time | relevance | path

Searched refs:SMK_MAXLEN (Results 1 – 2 of 2) sorted by relevance

/security/smack/
Dsmack_access.c348 if (strncmp(skp->smk_known, string, SMK_MAXLEN) == 0) in smk_find_entry()
366 if (len <= 0 || len > SMK_MAXLEN) in smk_parse_smack()
367 len = SMK_MAXLEN; in smk_parse_smack()
406 strncpy(skp->smk_known, smack, SMK_MAXLEN); in smk_import_entry()
486 if (strncmp(skp->smk_known, smack, SMK_MAXLEN) == 0) { in smack_to_secid()
Dsmack.h31 #define SMK_MAXLEN 23 macro
32 #define SMK_LABELLEN (SMK_MAXLEN+1)