Searched refs:priv_id (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/lib/libtsol/common/ |
H A D | privlib.c | 46 priv_t priv_id; in set_effective_priv() local 61 priv_id = va_arg(ap, priv_t); in set_effective_priv() 62 priv_name = (char *)priv_getbynum((int)(uintptr_t)priv_id); in set_effective_priv() 97 priv_t priv_id; in set_inheritable_priv() local 112 priv_id = va_arg(ap, priv_t); in set_inheritable_priv() 113 if ((char *)priv_getbynum((int)(uintptr_t)priv_id) == NULL) { in set_inheritable_priv() 118 (void) PRIV_ASSERT(priv_set, priv_id); in set_inheritable_priv() 147 priv_t priv_id; in set_permitted_priv() local 162 priv_id = va_arg(ap, priv_t); in set_permitted_priv() 163 if ((char *)priv_getbynum((int)(uintptr_t)priv_id) == NULL) { in set_permitted_priv() [all …]
|
/titanic_50/usr/src/common/smbsrv/ |
H A D | smb_token.c | 53 smb_token_query_privilege(smb_token_t *token, int priv_id) in smb_token_query_privilege() argument 63 if (privset->priv[i].luid.lo_part == priv_id) { in smb_token_query_privilege()
|
/titanic_50/usr/src/uts/common/smbsrv/ |
H A D | smb_token.h | 213 int smb_token_query_privilege(smb_token_t *token, int priv_id);
|
/titanic_50/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_lgrp.c | 1712 smb_lgrp_gtbl_update_plist(sqlite *db, char *gname, uint8_t priv_id, in smb_lgrp_gtbl_update_plist() argument 1757 rc = smb_lgrp_plist_add(&privs, priv_id, &new_privs); in smb_lgrp_gtbl_update_plist() 1759 rc = smb_lgrp_plist_del(&privs, priv_id, &new_privs); in smb_lgrp_gtbl_update_plist() 2102 smb_lgrp_plist_add(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, in smb_lgrp_plist_add() argument 2112 if (in_privs->p_ids[i] == priv_id) in smb_lgrp_plist_add() 2123 pbuf[in_privs->p_cnt] = priv_id; in smb_lgrp_plist_add() 2140 smb_lgrp_plist_del(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, in smb_lgrp_plist_del() argument 2159 if (in_privs->p_ids[i] != priv_id) in smb_lgrp_plist_del()
|
/titanic_50/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbadm.c | 1730 smbadm_group_setpriv(char *gname, uint8_t priv_id, smbadm_prop_t *prop) in smbadm_group_setpriv() argument 1744 status = smb_lgrp_setpriv(gname, priv_id, enable); in smbadm_group_setpriv() 1758 smbadm_group_getpriv(char *gname, uint8_t priv_id, smbadm_prop_t *prop) in smbadm_group_getpriv() argument 1763 status = smb_lgrp_getpriv(gname, priv_id, &enable); in smbadm_group_getpriv()
|