Searched refs:privs (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_privs.c42 kadm5_ret_t kadm5_get_privs(void *server_handle, long *privs) argument
51 *privs = r->privs;
/illumos-gate/usr/src/uts/common/sys/
H A Dreq.flg30 echo_file usr/src/uts/common/os/privs.awk
/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/
H A Dcleanup.ksh36 ZFS_USER=$(cat /tmp/zfs-privs-test-user.txt)
37 USES_NIS=$(cat /tmp/zfs-privs-test-nis.txt)
46 rm /tmp/zfs-privs-test-nis.txt
47 rm /tmp/zfs-privs-test-user.txt
H A Dsetup.ksh69 echo $ZFS_USER > /tmp/zfs-privs-test-user.txt
70 echo $USES_NIS > /tmp/zfs-privs-test-nis.txt
H A Dprivilege_001_pos.ksh62 ZFS_USER=$(cat /tmp/zfs-privs-test-user.txt)
H A Dprivilege_002_pos.ksh65 ZFS_USER=$(cat /tmp/zfs-privs-test-user.txt)
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin_loc.c56 static char *privs[] = {"GET", "ADD", "MODIFY", "DELETE", "LIST", local
65 for (i = 0; i < sizeof (privs) / 4; i++) {
66 printf(" %s", gettext(privs[i]));
H A Dkadmin_rmt.c50 static char *privs[] = {"GET", "ADD", "MODIFY", "DELETE", "LIST", "CHANGE"}; local
66 for (i = 0; i < sizeof (privs) / sizeof (char *); i++) {
68 printf(" %s", gettext(privs[i]));
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/privs/
H A Dtst.providers.ksh30 echo failed to enable io provider with full privs
37 # Now make sure that we cannot enable the io provider with reduced privs
41 echo successfully enabled the io provider with reduced privs
46 # Keeping our reduced privs, we want to assure that we can see every provider
/illumos-gate/usr/src/uts/common/os/
H A Dprivs.awk114 privs[npriv] = tolower(substr(priv, 6));
249 " char privs[" maxprivbytes "];\n" \
282 if (len + length(privs[i]) > 80) {
286 printf sep privs[i] > cfile
287 len += length(privs[i]) + length(sep);
299 print "\t&info.privs[" privind[i] "]," > cfile
313 print "char *priv_str = info.privs;" > cfile
381 print pdef[i] cast "\"" privs[i] "\")\n" > pubhfile
401 print privs[i] > pnamesfile
H A Dpolicy.c513 priv_intersect(req, &pset); /* the actual missing privs */
524 /* Multiple missing privs */
1036 static int privs[] = { local
1050 for (i = 0; i < sizeof (privs)/sizeof (int); i++) {
1054 switch (priv = privs[i]) {
1087 /* If changing to suid root, must have all zone privs */
/illumos-gate/usr/src/cmd/profiles/
H A Dprofiles.c266 char *privs; local
269 privs = kva_match(attr, PROFATTR_PRIVS_KW);
270 if (privs)
271 (void) printf(" privs=%s", privs);
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_token_xdr.c44 smb_privset_helper_xdr(XDR *xdrs, char **privs) argument
65 if (*privs == NULL)
68 p = (smb_privset_t *)(uintptr_t)*privs;
76 if (!xdr_pointer(xdrs, privs, len, (xdrproc_t)smb_privset_xdr))
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dzone.c40 zone_create(const char *name, const char *root, const struct priv_set *privs, argument
51 zd.zone_privs = privs;
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_lgrp.c67 * privs column of the groups table is an array of bytes
93 " privs BLOB," \
1478 smb_lgpid_t privs[SE_MAX_LUID + 1]; local
1492 plist.p_ids = privs;
1497 "n_privs, privs, n_members, members) "
1724 smb_lgplist_t privs; local
1730 sql = sqlite_mprintf("SELECT n_privs, privs FROM groups "
1757 privs.p_cnt = atoi(result[2]);
1758 privs.p_ids = (smb_lgpid_t *)result[3];
1761 rc = smb_lgrp_plist_add(&privs, priv_i
2193 smb_privset_t *privs; local
2224 smb_lgrp_decode_privset(smb_group_t *grp, char *nprivs, char *privs) argument
[all...]
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c254 char *privs; local
259 /* get privs from this profile */
260 privs = kva_match(attr, PROFATTR_PRIVS_KW);
261 if (privs != NULL) {
262 priv_set_t *tmp = priv_str_to_set(privs, ",", NULL);
407 * If there's an error in parsing uid, gid, privs, then return
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_logon.c295 smb_privset_t *privs; local
300 privs = smb_privset_new();
301 if (privs == NULL)
305 smb_privset_free(privs);
311 smb_privset_merge(privs, grp.sg_privs);
321 smb_privset_merge(privs, grp.sg_privs);
328 smb_privset_enable(privs, SE_SECURITY_LUID);
339 smb_privset_enable(privs, SE_CHANGE_NOTIFY_LUID);
341 return (privs);
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_acl.c845 kadm5_get_privs(void *server_handle, long *privs)
850 return all privs, which will confuse some clients, but not
853 *privs = ~0;
860 __kadm5_get_priv(void *server_handle, long *privs, gss_name_t client)
888 *privs = aentry->ae_op_allowed;
834 kadm5_get_privs(void *server_handle, long *privs) argument
849 __kadm5_get_priv(void *server_handle, long *privs, gss_name_t client) argument
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dkadm_rpc.h215 long privs; member in struct:getprivs_ret
H A Dadmin.h560 long *privs);
774 long *privs);
H A Dkadm_rpc_xdr.c973 ! xdr_long(xdrs, &objp->privs))
/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c968 smbadm_group_dump_privs(smb_privset_t *privs) argument
976 for (i = 0; i < privs->priv_cnt; i++) {
977 pinfo = smb_priv_getbyvalue(privs->priv[i].luid.lo_part);
981 switch (privs->priv[i].attrs) {
995 if (privs->priv_cnt == 0)
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c3251 get_privset(zlog_t *zlogp, priv_set_t *privs, zone_mnt_t mount_cmd) argument
3286 if (zonecfg_default_privset(privs, curr_iptype) == Z_OK) {
3296 switch (zonecfg_get_privset(handle, privs, &privname)) {
3965 /* Skip over zones with bad privs */
4204 get_zone_label(zlog_t *zlogp, priv_set_t *privs) argument
4243 priv_copyset(privs, zprivs);
4760 priv_set_t *privs; local
4796 if ((privs = priv_allocset()) == NULL) {
4800 priv_emptyset(privs);
4801 if (get_privset(zlogp, privs, mount_cm
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c2323 prpriv_t *privs; local
2330 if ((privs = proc_get_priv(Pstatus(Proc)->pr_pid)) == NULL) {
2358 priv_set_t *npset = getset(privs, PRIV_PERMITTED);
2379 privdata = privs;
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c5307 get_default_privset(priv_set_t *privs, priv_lists_t *plp) argument
5316 priv_union(basic, privs);
5320 if (priv_addset(privs, pnp->pn_priv) != 0)
5356 zonecfg_default_privset(priv_set_t *privs, const char *curr_iptype) argument
5366 ret = get_default_privset(privs, plp);
5387 verify_privset(char *privbuf, priv_set_t *privs, char **privname, argument
5491 priv_copyset(mergeset, privs);
5507 zonecfg_get_privset(zone_dochandle_t handle, priv_set_t *privs, argument
5542 err = get_default_privset(privs, plp);
5554 err = verify_privset(cp + 1, privs, privnam
[all...]

Completed in 317 milliseconds

12