/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getxby_door.h | 75 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
|
/illumos-gate/usr/src/head/ |
H A D | user_attr.h | 134 extern userattr_t *getuseruid(uid_t uid);
|
/illumos-gate/usr/src/cmd/print/lpset/ |
H A D | lpset.c | 55 uid_t uid; local 60 if ((uid = getuid()) == 0) 63 if (((pw = getpwnam("lp")) != NULL) && (uid == pw->pw_uid)) 66 if ((pw = getpwuid(uid)) == NULL)
|
/illumos-gate/usr/src/cmd/mailx/hdr/ |
H A D | glob.h | 92 extern uid_t myeuid; /* User's effective uid */ 96 extern uid_t myruid; /* User's real uid */ 133 extern uid_t uid; /* The invoker's user id */
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | main.c | 322 uid_t uid = getuid(); local 331 if (uid != UID_NETADM && uid != 0) { 336 pfail("nwamd should run as uid %d, not uid %d\n", UID_NETADM, 337 uid); 455 * (and if necessary set uid to 0) in this threaded daemon.
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | isns_esi.h | 63 uint32_t uid; member in struct:ev
|
H A D | isns_htab.h | 51 uint32_t uid; member in struct:htab_itemx
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | key_prot.x | 166 u_int uid; 175 u_int uid; 290 * Get me the uid, gid and group-access-list associated 332 * Get me the uid, gid and group-access-list associated 407 * Get me the uid, gid and group-access-list associated 480 * Get me the uid, gid and group-access-list associated
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.h | 70 uid_t uid; /* user id for packet */ member in struct:ipgpc_packet_s
|
/illumos-gate/usr/src/uts/common/rpcsvc/ |
H A D | autofs_prot.x | 89 uid_t uid; /* uid of caller */ 235 uid_t uid; /* uid of caller */
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | tar.h | 83 #define TSUID 04000 /* set uid on exec */ 105 char uid[TUIDLEN]; member in struct:header
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | tar.h | 74 #define TSUID 04000 /* set uid on exec */ 96 char uid[TUIDLEN]; member in struct:header
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | tar.h | 83 #define TSUID 04000 /* set uid on exec */ 105 char uid[TUIDLEN]; member in struct:header
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | tar.h | 83 #define TSUID 04000 /* set uid on exec */ 105 char uid[TUIDLEN]; member in struct:header
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | tar.h | 83 #define TSUID 04000 /* set uid on exec */ 105 char uid[TUIDLEN]; member in struct:header
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ncgrpw.c | 338 cpwuid(uid_t uid) argument 359 if ((itemp = lookup_cache(pwuid_cache, &uid, len)) == Null_Item) { 362 if ((pwd = clpwuid(uid)) != NULL || 363 (pwd = getpwuid(uid)) != NULL) { 383 (void) memmove(itemp->key, &uid, len); 710 clpwuid(uid_t uid) argument 727 if (pw->pw_uid == uid) {
|
/illumos-gate/usr/src/cmd/gss/gsscred/ |
H A D | gsscred.c | 31 * Manages mapping between a security principal name and unix uid 54 const char *uid, const char *mechOid); 58 const char *uid, const char *mechOid); 70 *uid = NULL, *comment = NULL, *mech = NULL, local 97 uid = optarg; 128 addUser(userName, nameTypeOID, uid, comment, mech); 132 removeUsers(userName, nameTypeOID, uid, mech); 136 listUsers(userName, nameTypeOID, uid, mech); 202 * Might have to look up the uid. 224 /* might require the lookup of the uid i [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 565 uid_t uid = (uid_t)-1; local 603 * Read .rhosts as the local user to avoid NFS mapping the root uid 607 uid = geteuid(); 617 if (uid != (uid_t)-1) 618 (void) seteuid(uid); 627 if (uid != (uid_t)-1) 628 (void) seteuid(uid); 637 if (uid != (uid_t)-1) 638 (void) seteuid(uid); 646 if (uid ! [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 77 uid_t uid; member in struct:ilist 144 char *user_name(int uid); 435 ilist[i].uid = ip->di_uid; 445 ilist[nxfile].uid = ip->di_uid; 515 (void) printf("mode %-6o uid %-5ld gid %-5ld ino ", 516 ilist[k].mode, ilist[k].uid, ilist[k].gid); 722 user_name(int uid) argument 728 h_index = uid % HASHNAMESIZE; 730 if (hp->name_uid == uid) { 736 hp->name_uid = uid; [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | pid.c | 688 * Increment the number of processes associated with a given uid and zoneid. 691 upcount_inc(uid_t uid, zoneid_t zoneid) argument 698 hupc = &upc_hash[UPC_HASH(uid, zoneid)]; 702 if ((*upc)->up_uid == uid && (*upc)->up_zoneid == zoneid) { 716 * There is no entry for this <uid,zoneid> pair. 738 new->up_uid = uid; 747 * Decrement the number of processes a given uid and zoneid has. 750 upcount_dec(uid_t uid, zoneid_t zoneid) argument 757 upc = &upc_hash[UPC_HASH(uid, zoneid)]; 759 if ((*upc)->up_uid == uid 778 upcount_get(uid_t uid, zoneid_t zoneid) argument [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 101 uid_t uid; local 116 if ((uid = getuid()) != smbd.s_uid) { 121 smbd_report("user %d (forced -f)", uid); 124 smbd_report("user %d: %s", uid, strerror(EPERM)); 324 smb_init_daemon_priv(int flags, uid_t uid, gid_t gid) argument 332 * with sufficient privileges and with the proper uid. We don't 350 if (uid != (uid_t)-1 && setreuid(uid, uid) != 0) 362 if ((uid [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_backend.c | 58 * Check if uid has proper auths. flags is used to check auths for 62 nwam_check_auths(uid_t uid, boolean_t write, uint64_t flags) argument 67 if ((pwd = getpwuid(uid)) == NULL) { 215 uid_t uid; local 231 uid = ucred_getruid(ucr); 235 if ((err = nwam_check_auths(uid, write, req->nwbda_flags))
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_cron.c | 85 * or atjob uid. 285 uid_t uid, 360 aug_save_uid(uid); 362 aug_save_euid(uid); 440 audit_cron_create_anc_file(char *name, char *path, char *uname, uid_t uid) argument 469 ai.ai_auid = uid; 282 audit_cron_session( char *name, char *path, uid_t uid, gid_t gid, char *at_jobname) argument
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
H A D | syseventconfd.c | 282 uid_t uid; local 315 if (nvlist_lookup_int32(cmd->cmd_nvlist, "uid", (int *)&uid) == 0) { 322 uid = 0; 376 if (uid != (uid_t)0) { 379 i = setuid(uid);
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tip.c | 56 uid = getuid(); 140 * return to the real uid and gid. These things will 141 * be closed on exit. The saved-setuid uid and gid 150 * Do the open here, before we change back to real uid. 251 if (uid != getuid()) { 287 (void) seteuid(uid); 407 if ((p->e_flags&PRIV) && uid) 490 if ((p->e_flags&PRIV) && uid)
|