Searched defs:authname (Results 1 - 7 of 7) sorted by relevance
/osnet-11/usr/src/lib/libpower/common/ |
H A D | pm_kernel.c | 54 char *authname; local 137 propname = pm_parse_propname(tok, &authname); 138 authority = pm_authority_get(authname);
|
H A D | libpower.c | 121 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 D | libpower_subr.c | 194 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]);
|
/osnet-11/usr/src/lib/policykit/libpolkit/common/ |
H A D | libpolkit-rbac.c | 131 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/cmd/hal/tools/ |
H A D | hal-storage-shared.c | 678 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 D | chkauthattr.c | 365 _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/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 8800 char authname[MAXAUTHS]; local 8810 (void) snprintf(authname, MAXAUTHS, "%s%s", 8812 if (getauthnam(authname) == NULL) {
|
Completed in 61 milliseconds