Searched refs:SMK_MAXLEN (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/security/smack/ |
D | smack_access.c | 361 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()
|
D | smack.h | 31 #define SMK_MAXLEN 23 macro 32 #define SMK_LABELLEN (SMK_MAXLEN+1)
|
D | smack_lsm.c | 2848 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()
|