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

/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_lgrp.c2173 * Adds the given privilege to the input list (in_privs)
2179 smb_lgrp_plist_add(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, argument
2188 for (i = 0; i < in_privs->p_cnt; i++) {
2189 if (in_privs->p_ids[i] == priv_id)
2193 size = (in_privs->p_cnt + 1) * sizeof (smb_lgpid_t) + 1;
2199 bcopy(in_privs->p_ids, pbuf, in_privs->p_cnt * sizeof (smb_lgpid_t));
2200 pbuf[in_privs->p_cnt] = priv_id;
2202 out_privs->p_cnt = in_privs->p_cnt + 1;
2211 * Removes the given privilege from the input list (in_privs)
2217 smb_lgrp_plist_del(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, smb_lgplist_t *out_privs) argument
[all...]

Completed in 18 milliseconds