Home
last modified time | relevance | path

Searched refs:usertype (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/oamuser/user/
H A Duseradd.c164 usertype = getusertype(argv[0]);
166 change_key(USERATTR_TYPE_KW, usertype);
244 if (is_role(usertype)) {
257 if (is_role(usertype))
266 if (is_role(usertype))
275 usrdefs = getusrdef(usertype);
282 if (is_role(usertype))
291 if (is_role(usertype))
405 if (is_role(usertype))
652 if (is_role(usertype))
[all …]
H A Duserdefs.c166 getusrdef(char *usertype) in getusrdef() argument
171 if (is_role(usertype)) { in getusrdef()
228 dispusrdef(FILE *fptr, unsigned flags, char *usertype) in dispusrdef() argument
230 struct userdefs *deflts = getusrdef(usertype); in dispusrdef()
288 (!is_role(usertype))) { in dispusrdef()
310 if ((flags & D_ROLEAUTH) && is_role(usertype)) { in dispusrdef()
324 putusrdef(struct userdefs *defs, char *usertype) in putusrdef() argument
344 if (is_role(usertype)) { in putusrdef()
362 if (is_role(usertype)) { in putusrdef()
H A Duserdel.c77 char *usertype = NULL; in main() local
88 usertype = getusertype(argv[0]); in main()
96 if (is_role(usertype)) in main()
105 if (is_role(usertype)) in main()
195 if (is_role(usertype)) in main()
H A Dusermod.c104 static char *usertype; variable
177 usertype = getusertype(argv[0]);
260 if (is_role(usertype))
269 if (is_role(usertype))
278 if (is_role(usertype))
286 if (is_role(usertype))
304 if (isrole != is_role(usertype)) {
313 usertype = getsetdefval(USERATTR_TYPE_KW, usertype);
315 if (is_role(usertype)) {
680 if (is_role(usertype))
H A Dfuncs.c194 static char usertype[MAX_TYPE_LENGTH]; in getusertype() local
205 strcpy(usertype, USERATTR_TYPE_NORMAL_KW); in getusertype()
207 strcpy(usertype, USERATTR_TYPE_NONADMIN_KW); in getusertype()
209 return (usertype); in getusertype()
213 is_role(char *usertype) in is_role() argument
215 if (strcmp(usertype, USERATTR_TYPE_NONADMIN_KW) == 0) in is_role()
H A Dfuncs.h44 int is_role(char *usertype);
/illumos-gate/usr/src/tools/smatch/src/
H A Dparse.dtd48 usertype (0|1) #IMPLIED attribute