Searched defs:auths (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/auths/
H A Dauths.c50 char **auths; member in struct:cbs
58 static char *progname = "auths";
126 /* print out the auths */
128 (void) printf("%s,", cbs.auths[i]);
131 (void) printf("%s\n", cbs.auths[cbs.auth_cnt - 1]);
148 cbs->auths = realloc(cbs->auths,
151 if (cbs->auths == NULL) {
158 cbs->auths[cbs->auth_cnt] = strdup(authname);
170 free(cbs->auths[
[all...]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dchkauthattr.c47 * Enumeration functions for auths and profiles; the enumeration functions
56 * Both the auths and the profiles arguments may be NULL.
227 * Enumerate authorizations in the "auths" argument.
233 char *auth, *last, *auths; local
239 COPYTOSTACK(auths, cauths)
241 while (auth = strtok_r(auths, KV_SEPSTR, &last)) {
242 auths = NULL; /* For next iterations of strtok_r */
266 char *auths; local
269 auths = kva_match(attr, PROFATTR_AUTHS_KW);
270 return (_enum_auths_a(auths, c
[all...]
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c231 check_auth(const char *auths) argument
239 tmp = strdup(auths);
/illumos-gate/usr/src/cmd/rexd/
H A Dmount_nfs.c126 int *auths; local
312 auths =
317 if (auths[0] == AUTH_DES)
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c145 _is_authorized(char *auths, uid_t uid) argument
154 if (strcmp(auths, "@") == 0)
156 if (strcmp(auths, "*") == 0)
160 if (strpbrk(auths, DEVICE_AUTH_SEPARATOR) == NULL)
161 return (chkauthattr(auths, pw_ent.pw_name));
162 authlist = strdup(auths);
256 (void) printf("auths=%s%s",
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c2022 int count, i, *auths; local
2314 auths =
2331 if (auths[i] == nfs_sec.sc_nfsnum)
2351 if (auths[i] == default_sec.sc_nfsnum) {
2366 if (!nfs_getseconfig_bynumber(auths[i],
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c674 int *auths; local
1692 auths = res3.mountres3_u.mountinfo.
1699 if (auths[i] ==
1727 auths[i], &nfs_sec))) {
1743 auths[i-1],
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c136 #define DTD_ATTR_AUTHS (const xmlChar *) "auths"
7726 zonecfg_valid_auths(const char *auths, const char *zonename) argument
7734 tmpauths = strdup(auths);
7886 * Add auths for this zone
8005 * removed admin assignments, using an empty auths string.
8015 char *auths, char *zonename)
8028 char *new_auth_start; /* string containing the new auths */
8114 right = strtok_r(auths, ",", &lasts);
8134 * and the new auths are a substrings of the old auths
8014 zonecfg_authorize_user_impl(zone_dochandle_t handle, char *user, char *auths, char *zonename) argument
8168 char auths[MAXAUTHS]; local
[all...]

Completed in 122 milliseconds