Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/oamuser/user/
H A Dfuncs.c346 char *rolename; in check_role() local
357 rolename = strtok(tmp, ROLE_SEP); in check_role()
358 while (rolename != NULL) { in check_role()
359 result = getusernam(rolename); in check_role()
362 return (rolename); in check_role()
369 return (rolename); in check_role()
373 return (rolename); in check_role()
376 rolename = strtok(NULL, ROLE_SEP); in check_role()
/titanic_50/usr/src/lib/pam_modules/roles/
H A Droles.c189 char *rolename = (char *)strtok_r(list, ",", &lasts); in roleinlist() local
191 while (rolename) { in roleinlist()
192 if (strcmp(rolename, role) == 0) in roleinlist()
195 rolename = (char *)strtok_r(NULL, ",", &lasts); in roleinlist()
/titanic_50/usr/src/cmd/ipf/tools/
H A Dippool.c823 int getrole(rolename) in getrole() argument
824 char *rolename; in getrole()
828 if (!strcasecmp(rolename, "ipf")) {
831 } else if (!strcasecmp(rolename, "nat")) {
833 } else if (!strcasecmp(rolename, "state")) {
835 } else if (!strcasecmp(rolename, "auth")) {
837 } else if (!strcasecmp(rolename, "sync")) {
839 } else if (!strcasecmp(rolename, "scan")) {
841 } else if (!strcasecmp(rolename, "pool")) {
843 } else if (!strcasecmp(rolename, "count")) {