Lines Matching refs:smack
357 char smack[SMK_LABELLEN]; in smk_import_entry() local
366 smack[i] = '\0'; in smk_import_entry()
370 smack[i] = '\0'; in smk_import_entry()
373 smack[i] = string[i]; in smk_import_entry()
376 if (smack[0] == '\0') 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()
464 u32 smack_to_secid(const char *smack) in smack_to_secid() argument
470 if (strncmp(skp->smk_known, smack, SMK_MAXLEN) == 0) { in smack_to_secid()
527 int smack_to_cipso(const char *smack, struct smack_cipso *cp) in smack_to_cipso() argument
534 if (kp->smk_known == smack || in smack_to_cipso()
535 strcmp(kp->smk_known, smack) == 0) { in smack_to_cipso()