Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/setfacl/
H A Dsetfacl.c603 parse_entry(char *fieldp, aclent_t *aclentp, int mode) in parse_entry() argument
611 colonp = (char *)strchr(fieldp, ':'); in parse_entry()
614 gettext("Can't find colon delimiter %s\n"), fieldp); in parse_entry()
618 if ((strcmp(fieldp, "default") == 0) || (strcmp(fieldp, "d") == 0)) { in parse_entry()
620 fieldp = ++colonp; in parse_entry()
621 colonp = (char *)strchr(fieldp, ':'); in parse_entry()
624 gettext("Can't find colon delimiter %s\n"), fieldp); in parse_entry()
631 if ((strcmp(fieldp, "user") == 0) || (strcmp(fieldp, "u") == 0)) { in parse_entry()
637 if ((strcmp(fieldp, "group") == 0) || (strcmp(fieldp, "g") == 0)) { in parse_entry()
643 if ((strcmp(fieldp, "mask") == 0) || (strcmp(fieldp, "m") == 0)) { in parse_entry()
[all …]
/titanic_41/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c63 char *fieldp; in str_to_mlp() local
72 fieldp = strtok_r(mlp_str, KV_DELIMITER, &lasts); in str_to_mlp()
73 if (fieldp == NULL) in str_to_mlp()
77 for (i = 0; fieldp != NULL && i < NMLP_MAX; i++) { in str_to_mlp()
78 ulv = strtoul(fieldp, &cp, 0); in str_to_mlp()
91 fieldp = cp + 1; in str_to_mlp()
92 ulv = strtol(fieldp, &cp, 0); in str_to_mlp()
95 else if (getprotobyname_r(fieldp, &proto, gbuf, in str_to_mlp()
100 fieldp = strtok_r(NULL, KV_DELIMITER, &lasts); in str_to_mlp()