Home
last modified time | relevance | path

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

/linux-2.6.39/security/smack/
Dsmack_access.c361 if (len <= 0 || len > SMK_MAXLEN) in smk_import_entry()
362 len = SMK_MAXLEN; in smk_import_entry()
383 if (strncmp(skp->smk_known, smack, SMK_MAXLEN) == 0) { in smk_import_entry()
392 strncpy(skp->smk_known, smack, SMK_MAXLEN); in smk_import_entry()
470 if (strncmp(skp->smk_known, smack, SMK_MAXLEN) == 0) { in smack_to_secid()
516 strncpy(result, final, SMK_MAXLEN); in smack_from_cipso()
Dsmack.h31 #define SMK_MAXLEN 23 macro
32 #define SMK_LABELLEN (SMK_MAXLEN+1)
Dsmack_lsm.c2848 memcpy(sip, smack, SMK_MAXLEN); in smack_from_secattr()
2871 strncpy(sip, sp, SMK_MAXLEN); in smack_from_secattr()
2879 strncpy(sip, smack_net_ambient, SMK_MAXLEN); in smack_from_secattr()
3065 strncpy(smack, smack_known_huh.smk_known, SMK_MAXLEN); in smack_inet_conn_request()
3125 strncpy(ssp->smk_packet, smack, SMK_MAXLEN); in smack_inet_csk_clone()