Searched refs:authname (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/policykit/libpolkit/common/
H A Dlibpolkit-rbac.c131 char *authname; local
146 authname = "solaris.device.mount.removable";
148 authname = "solaris.device.mount.alloptions.removable";
150 authname = "solaris.device.mount.fixed";
152 authname = "solaris.device.mount.alloptions.fixed";
154 authname = "solaris.system.power.suspend.ram";
156 authname = "solaris.system.power.suspend.disk";
159 authname = "solaris.system.shutdown";
161 authname = "solaris.system.power.cpu";
163 authname
[all...]
/osnet-11/usr/src/lib/libpower/common/
H A Dlibpower.c121 char *authname; local
129 nvlist_lookup_string(query, PM_PROP_AUTHORITY, &authname) != 0 ||
142 authority = pm_authority_get(authname);
146 authname);
307 pm_authority_get(const char *authname) argument
312 if (authname == NULL) {
328 if (authname != NULL && strncmp(authname, np, nlen) == 0) {
H A Dlibpower_subr.c194 const char *authname; local
201 authname = pm_authority_getname(authority);
216 errno = nvlist_add_boolean_array(nvl, authname, bap, propc);
221 errno = nvlist_add_boolean_value(nvl, authname, bap[0]);
226 errno = nvlist_add_uint64_array(nvl, authname, uap, propc);
231 errno = nvlist_add_uint64(nvl, authname, uap[0]);
236 errno = nvlist_add_string_array(nvl, authname, sap, propc);
241 errno = nvlist_add_string(nvl, authname, sap[0]);
H A Dpm_kernel.c54 char *authname; local
137 propname = pm_parse_propname(tok, &authname);
138 authority = pm_authority_get(authname);
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c678 char *authname; local
682 authname = g_strdup ("solaris.device.mount.removable");
684 authname = g_strdup ("solaris.device.mount.alloptions.removable");
686 authname = g_strdup ("solaris.device.mount.fixed");
688 authname = g_strdup ("solaris.device.mount.alloptions.fixed");
691 authname = g_strdup (privilege);
692 for (i = 0; i < strlen (authname); i++) {
693 if (authname[i] == '-') {
694 authname[i] = '.';
698 return (authname);
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dchkauthattr.c365 _is_authorized(const char *auth, void *authname, void *res) argument
373 auth_len = strlen(authname);
374 if ((slash = strchr(authname, KV_OBJECTCHAR)) != NULL) {
382 if (strcmp(authname, auth) == 0) {
387 if (_auth_match_noun(auth, authname,
398 chkauthattr(const char *authname, const char *username) argument
402 if (authname == NULL || username == NULL)
405 (void) _enum_auths(username, _is_authorized, (char *)authname,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/
H A DSMTP.pm118 authname => $username,
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c8800 char authname[MAXAUTHS]; local
8810 (void) snprintf(authname, MAXAUTHS, "%s%s",
8812 if (getauthnam(authname) == NULL) {

Completed in 107 milliseconds