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

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_lgrp.c2096 * Adds the given privilege to the input list (in_privs)
2102 smb_lgrp_plist_add(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, argument
2111 for (i = 0; i < in_privs->p_cnt; i++) {
2112 if (in_privs->p_ids[i] == priv_id)
2116 size = (in_privs->p_cnt + 1) * sizeof (smb_lgpid_t) + 1;
2122 bcopy(in_privs->p_ids, pbuf, in_privs->p_cnt * sizeof (smb_lgpid_t));
2123 pbuf[in_privs->p_cnt] = priv_id;
2125 out_privs->p_cnt = in_privs->p_cnt + 1;
2134 * Removes the given privilege from the input list (in_privs)
2140 smb_lgrp_plist_del(smb_lgplist_t *in_privs, smb_lgpid_t priv_id, smb_lgplist_t *out_privs) argument
[all...]

Completed in 45 milliseconds