Searched refs:priv_name (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | privlib.c | 53 char *priv_name; in set_effective_priv() local 60 priv_name = (char *)priv_getbynum((int)(uintptr_t)priv_id); in set_effective_priv() 61 if (priv_name == NULL) { in set_effective_priv() 66 (void) priv_addset(priv_set, priv_name); in set_effective_priv()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_ndd.c | 191 char *name, priv_name[MAXLINKPROPNAME]; in mac_ndd_get_ioctl() local 301 (void) snprintf(priv_name, sizeof (priv_name), "_%s", name); in mac_ndd_get_ioctl() 302 status = mip->mi_callbacks->mc_getprop(mip->mi_driver, priv_name, in mac_ndd_get_ioctl() 338 char priv_name[MAXLINKPROPNAME]; in mac_ndd_set_ioctl() local 408 (void) snprintf(priv_name, sizeof (priv_name), "_%s", name); in mac_ndd_set_ioctl() 409 status = mip->mi_callbacks->mc_setprop(mip->mi_driver, priv_name, in mac_ndd_set_ioctl()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | devpolicy.c | 687 priv_str_to_set(const char *priv_name, priv_set_t *priv_set) in priv_str_to_set() argument 689 if (priv_name == NULL || strcmp(priv_name, "none") == 0) { in priv_str_to_set() 691 } else if (strcmp(priv_name, "all") == 0) { in priv_str_to_set() 695 priv = priv_getbyname(priv_name, PRIV_ALLOC); in priv_str_to_set() 698 priv_name); in priv_str_to_set()
|