/illumos-gate/usr/src/cmd/tip/ |
H A D | cu.c | 106 uid = getuid();
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_fuid.h | 70 * Used for mapping ephemeral uid/gid during ACL setting to FUIDs 74 uint64_t z_id; /* uid/gid being converted to fuid */ 111 uid_t *uid, uid_t *gid);
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_fops.c | 102 priv->uid = crgetsuid(credp);
|
H A D | drm_io32.h | 68 uint32_t uid; /* User ID */ member in struct:drm_client_32
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | hotkey_drv.h | 52 char uid[ID_LEN]; /* ACPI UniqueId */ member in struct:acpi_drv_dev
|
H A D | stropts.h | 399 o_uid_t uid; /* always ushort */ member in struct:o_strrecvfd 410 uid_t uid; member in struct:k_strrecvfd 428 uid_t uid; member in struct:strrecvfd
|
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.h | 85 uid_t uid; member in struct:ad_backend
|
/illumos-gate/usr/src/boot/include/isofs/cd9660/ |
H A D | cd9660_rrip.h | 48 char uid [ISODCL ( 20, 27)]; /* 733 */ member in struct:__anon11
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getpwnam.c | 31 #define _PWD_UID "uid" 41 #define _F_GETPWNAM "(&(objectClass=posixAccount)(uid=%s))" 42 #define _F_GETPWNAM_SSD "(&(%%s)(uid=%s))" 171 * getbyname gets a passwd entry by uid name. This function constructs an ldap 204 * getbyuid gets a passwd entry by uid number. This function constructs an ldap 205 * search filter using the uid invocation parameter and the getpwuid search 219 if (argp->key.uid > MAXUID) 223 _F_GETPWUID, (long)argp->key.uid); 228 _F_GETPWUID_SSD, (long)argp->key.uid);
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | ldap_attr.c | 117 #define _PWD_UID "uid" 196 uid_t uid; local 206 uid = getuid(); 232 if (uid == 0) { 236 } else if (uid == pw->pw_uid) { 245 if (uid == pw->pw_uid) { 258 if (uid == 0) { 261 priviledged_uid = uid; 273 (int)uid); 1149 uid_t uid; local [all...] |
H A D | nis_attr.c | 131 uid_t uid; local 152 uid = getuid(); 154 *privileged = (uid == (uid_t)0); 157 if (uid == 0 || uid == buf->pwd->pw_uid) { 344 * succeed if the caller's uid is 0 because only root user
|
/illumos-gate/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 86 uid_t uid; local 130 uid = p->pw_uid; 168 if (uid == 0)
|
/illumos-gate/usr/src/cmd/projects/ |
H A D | projects.c | 295 uid_t uid; local 334 uid = getuid(); 335 if ((pwd = getpwuid(uid)) == NULL) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 298 quotactl(int cmd, char *mountpt, uid_t uid, caddr_t addr) argument 321 quota.uid = uid;
|
/illumos-gate/usr/src/cmd/getfacl/ |
H A D | getfacl.c | 37 * # owner: uid 40 * user:uid:perm 46 * default:user:uid:perm 175 /* no need to display uid */ 305 pruname(uid_t uid) argument 310 passwdp = getpwuid(uid); 312 /* could not get passwd information: display uid instead */ 313 (void) sprintf(uidp, "%u", uid);
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmexpress.c | 451 revokedevaccess(char *dev, uid_t uid, gid_t gid, mode_t mode) argument 454 if (chown(dev, uid, gid) == -1) 460 (void) acl_strip(dev, uid, gid, mode);
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | key_call.c | 167 * on its uid. The netname is written into the string that "netname" 202 netname2user(char *name, uid_t *uid, gid_t *gid, int *len, gid_t *groups) argument 221 *uid = res.getcredres_u.cred.uid;
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | lpfsck.c | 229 uid_t uid; local 301 uid = va_arg(ap, uid_t); 303 (void) chownmod(path, uid, gid, mode);
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | homedir.c | 67 create_home(char *homedir, char *skeldir, uid_t uid, gid_t gid, int flags) argument 70 /* uid of new user */ 163 if (chown(homedir, uid, gid) != 0) { 192 homedir, uid, gid);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_owner_001_pos.ksh | 44 # (1) If uid is granted the write_owner permission, then it can only do 45 # chown to its own uid, or a group that they are a member of. 97 typeset uid=$1 100 if [[ -z $uid ]]; then 104 value=$(id $uid) 111 log_fail "Invalid UID (uid)."
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | sacadm.c | 104 uid_t uid; /* invoker's real uid */ local 288 uid = getuid(); 291 if (uid) { 300 if (uid) { 309 if (uid) { 318 if (uid) { 327 if (uid) { 336 if (uid) { 353 if (uid) { [all...] |
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 321 uid_t uid = getuid(); local 325 if (uid == 0) { /* let root do what they want */ 328 if ((pw = getpwuid(uid)) == NULL) { 687 uid_t uid = getuid(); local 730 seteuid(uid); 785 setreuid(uid, uid);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/ |
H A D | rpc.rquotad.c | 406 quotactl(cmd, mountp, uid, dqp) 409 uid_t uid; 461 quota.uid = uid; 613 getdiskquota(fsqp, uid, dqp) 615 uid_t uid; 624 (void) llseek(fd, (offset_t)dqoff(uid), L_SET);
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | protocmp.c | 581 uid_t uid; local 627 uid = -1; 629 uid = 2; 630 } else if ((uid = stdfind(ep->owner, usernames)) == -1) { 636 (set_user && uid != -1 && uid != sbp->st_uid)) { 653 if (lchown(fname, uid, gid) == -1) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_trans.c | 90 uid_t uid; member in struct:transentry 201 if (pte->uid == entry->uid) { 218 if (pte->uid == entry->uid) { 585 newte->uid = logrec->re_header.rh_uid; 654 newte->uid = logrec->re_header.rh_uid; 736 newte->uid = logrec->re_header.rh_uid; 793 newte->uid = logrec->re_header.rh_uid; 862 newte->uid [all...] |