Searched refs:uid (Results 451 - 475 of 547) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/ls/
H A Dls.c387 { "numeric-uid-gid", no_argument, NULL, 'n' },
1250 * if uid/gid is not found in the appropriate
1251 * file(passwd/group), then print uid/gid instead of
2188 long val; /* the uid or gid of this entry */
2225 * get name from cache, or passwd file for a given uid;
2226 * lastuid is set to uid.
2229 getname(uid_t uid) argument
2234 if ((uid == lastuid) && lastuname)
2237 c = findincache(&names, uid);
2239 if ((pwent = getpwuid(uid)) !
[all...]
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c1706 uid_t uid; local
1718 uid = getuid();
1719 if ((nptr = getpwuid(uid)) == NULL) {
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c241 * Check whether appropriate uid. Unset only
1559 * who it is, we return the uid.
1575 * Copies the name associated with the uid of the caller and returns
1581 uid_t uid = rpcb_caller_uid(transp); local
1583 switch (uid) {
1589 (void) sprintf(owner, "%u", uid);
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_alloc.c996 uid_t uid; local
1028 uid = crgetuid(cr);
1029 fe->fe_uid = SWAP_32(uid);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_subr.c1450 uid_t uid; local
1455 (uid = crgetuid(cr)) != dp->i_uid &&
1456 uid != ip->i_uid &&
/illumos-gate/usr/src/uts/common/os/
H A Dcred.c802 crsetugid(cred_t *cr, uid_t uid, gid_t gid) argument
808 if (!VALID_UID(uid, zone) || !VALID_GID(gid, zone))
811 cr->cr_uid = cr->cr_ruid = cr->cr_suid = uid;
1036 * root (no root net access). Check the real uid, if it isn't root
1037 * make that the uid instead and retry the call.
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_sldap.h306 /* uid, etc. */
812 const char *uid,
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c483 uid_t Lastuid = (uid_t)-1; /* Used with -t & -v to record current uid */
665 * to restore uid and gid from an archive only if cpio is run as uid 0,
666 * cpio now *always* tries to restore the uid and gid from the archive
668 * the uid and gid of the restored file will be changed to those of the
1235 uid_t Euid = geteuid(); /* Effective uid of invoker */
7133 uid_t uid; local
7171 uid = G_p->g_uid;
7179 if ((ulong_t)uid > (ulong_t)USHRT_MAX)
7180 uid
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm_impl.h459 mode_t *mode, uid_t *uid, gid_t *gid);
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h482 extern int getname(uid_t uid, char namebuf[]);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c124 &cache_time, stack, &stkptr, rda->uid);
H A Dautod_main.c422 (uint_t)m->isdirect, m->uid, &action, &link);
462 (uint_t)m->isdirect, m->uid, &alp, DOMOUNT_USER);
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h413 uid_t uid; member in union:nss_XbyY_key
599 uint32_t p_ruid; /* real uid */
600 uint32_t p_euid; /* effective uid */
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_dbus.c958 user_at_console(unsigned long uid) argument
962 return ((stat("/dev/vt/console_user", &st) == 0) && (st.st_uid == uid));
987 HAL_WARNING (("Could not get uid for connection: %s %s", error.name, error.message));
992 HAL_INFO (("uid for caller is %ld", user_uid));
1005 HAL_WARNING (("uid %d is not privileged", user_uid));
2071 unsigned long uid; local
2104 uid = dbus_bus_get_unix_user (connection, sender, &error);
2105 if (uid == (unsigned long) -1 || dbus_error_is_set (&error)) {
2106 HAL_WARNING (("Could not get uid for connection: %s %s", error.name, error.message));
2113 hal_util_branch_claim (hald_get_gdl (), d, TRUE, claim_service, uid); local
3362 unsigned long uid; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c245 static void printuser(FILE *fp, uid_t uid);
246 static int readuser(char *str, uid_t *uid);
2820 * Prints the username of the user with uid 'uid' to 'fp' if the uid belongs
2821 * to a known user on the system, otherwise just print 'uid'.
2826 uid_t uid)
2832 pwd = getpwuid(uid);
2836 (void) fprintf(fp, "%u\n", (int)uid);
3440 uid_t uid; local
2824 printuser( FILE *fp, uid_t uid) argument
4202 readuser( char *str, uid_t *uid) argument
6087 uid_t uid; local
[all...]
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c152 * OCTAL7CHAR - the limit for ustar gid, uid, dev
354 char uid[8]; member in struct:hblock::header
1519 (void) sscanf(dblock.dbuf.uid, "%8lo", (ulong_t *)&Gen.g_uid);
4132 (strcmp(savedblock.dbuf.uid, dblock.dbuf.uid)) ||
4514 * before using the uid and gid.
4532 * Try and extract the intended uid and gid from the name
4533 * service before believing the uid and gid in the header.
4536 * owned by someone with a large uid, then it will
4537 * have made it into the archive with a uid o
4604 uid_t uid; local
6313 getname(uid_t uid) argument
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c872 smb_parse_owner(char *pair, uid_t *uid, gid_t *gid) argument
892 *uid = pw.pw_uid;
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c405 (me, "%s call failed(cred): caller pid %d, uid %d, "
415 (me, "nscd received %s cmd from pid %d, uid %d, "
818 need_per_user_door(void *buf, int whoami, uid_t uid, char **dblist) argument
835 if (uid == 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c61 uchar_t uid[2]; member in struct:smb
722 show_printf("User ID (UID) = 0x%.4x", get2(smb->uid));
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c726 const char *name, time_t timestamp, uid_t uid, gid_t gid, mode_t mode,
733 EC_WORD(timestamp), EC_WORD(uid), EC_WORD(gid), EC_WORD(mode),
725 write_member_header(const char *filename, int fd, int is_elf, const char *name, time_t timestamp, uid_t uid, gid_t gid, mode_t mode, size_t size) argument
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dsetup.c197 char *execname, char **argv, uid_t uid, uid_t euid, gid_t gid, gid_t egid,
348 security(uid, euid, gid, egid, auxflags);
195 setup(char **envp, auxv_t *auxv, Word _flags, char *_platform, int _syspagsz, char *_rtldname, ulong_t ld_base, ulong_t interp_base, int fd, Phdr *phdr, char *execname, char **argv, uid_t uid, uid_t euid, gid_t gid, gid_t egid, void *aoutdyn, int auxflags, uint_t *hwcap) argument
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_secinfo.c1056 if (svp->sv_secdata->uid != 0) {
1058 (void) crsetugid(lcr, svp->sv_secdata->uid,
/illumos-gate/usr/src/tools/onbld/Scm/
H A DBackup.py177 t.uid = os.getuid()
181 t.uname = pwd.getpwuid(t.uid).pw_name
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Dchkopts.c750 uid_t uid = statbuf.st_uid; local
757 if (statbuf.st_uid != uid) {
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfncs.c830 * calling freesecure which will destroy uid and
842 if (pls->uid != secbufp->uid) {

Completed in 195 milliseconds

<<11121314151617181920>>