Searched defs:uid (Results 351 - 375 of 388) sorted by relevance

<<111213141516

/illumos-gate/usr/src/uts/common/os/
H A Dexec.c571 uid_t uid, gid; local
617 (privflags = execsetid(vp, &vattr, &uid, &gid, &fset,
634 cred->cr_uid = uid;
636 cred->cr_suid = uid;
704 "!uid %d: setuid execution not allowed, "
708 "!uid %d: setuid execution not allowed, "
716 cmn_err(CE_NOTE, "!zone: %s, uid: %d "
721 cmn_err(CE_NOTE, "!zone: %s, uid: %d "
737 * whether we gained any privileges or executed a set-uid executable.
754 * the file just executed was set-uid o
1032 uid_t uid, gid; local
[all...]
H A Dpolicy.c97 * checks for uid 0. The rationale behind these is that many root
905 * uid of owner of vnode
1098 * Are we allowed to retain the set-uid/set-gid bits when
1100 * "issuid" should be true when set-uid; only in that case
1380 * ovap. In certain situations set-uid/set-gid bits need to be removed;
1417 * to add the set-uid bit, if we're not the owner.
1418 * In the specific case of creating a set-uid root
1437 * chown to other uid FILE_CHOWN_SELF
1645 * privilege is not sufficient to get uid 0.
1650 * get the powers of root wrt uid
2556 secpolicy_smbfs_login(const cred_t *cr, uid_t uid) argument
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c1860 sortattr = "cn uid";
2692 /* Try old "cn uid" server side sort */
4133 __ns_ldap_uid2dn(const char *uid, argument
4148 if ((uid == NULL) || (uid[0] == '\0'))
4151 while (uid[i] != '\0') {
4152 if (uid[i] == '=') {
4153 *userDN = strdup(uid);
4159 while ((uid[i] != '\0') && (isdigit(uid[
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ami.h283 int uid; member in struct:ami_serv_key_info
/illumos-gate/usr/src/cmd/ps/
H A Dps.c101 F_UID, /* numeric effective uid of the process */
102 F_RUID, /* numeric real uid of the process */
170 { "uid", "UID", 5, 5 },
292 static struct ughead ruid_tbl; /* table to store selected real uid's */
733 * current terminal and effective uid as the default.
2133 uid_t uid; local
2142 if (str2uid(utbl[i].name, &uid, 0, MAXEPHUID) == 0)
2143 pwd = getpwuid(uid);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c685 uid_t myuid, uid; local
688 uid = (uid_t)strtol(str, &cp, 0);
695 uid = pw->pw_uid;
697 slp->sl_entry.se_uid = uid;
700 if (myuid == uid)
703 slp->sl_parse->ps_cfile->pf_name, uid, str);
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1556 * if set-uid or set-gid then the executable and its containing
1611 getname(uid_t uid) argument
1617 cp = uid % (NUID);
1619 cp = uid & ((NUID) - 1);
1621 if (nc[cp].id == uid && nc[cp].name[0])
1623 pw = getpwuid(uid);
1626 nc[cp].id = uid;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c1129 uid_t uid = RealUid; local
1132 (uid != 0 && uid != pw->pw_uid))
1134 pw = sm_getpwuid(uid);
1324 ** won't let it call set*uid() or run setuid binaries without
3880 int DefShareUid; /* default share uid to run as -- unused??? */
3943 ** uid -- the uid we are about to become.
3950 vendor_set_uid(uid)
3951 UID_T uid;
[all...]
H A Dqueue.c476 syserr("!queueup: cannot create queue temp file %s, uid=%d",
521 syserr("!queueup: cannot commit data file %s, uid=%d",
563 syserr("!queueup: cannot create data temp file %s, uid=%d",
598 syserr("!queueup: cannot save data temp file %s, uid=%d",
892 syserr("cannot rename(%s, %s), uid=%d",
979 ** The last control address and uid are saved.
989 uid_t uid; local
1004 /* find the active uid */
1009 uid = 0;
1015 uid
[all...]
/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c2280 uid_t uid; local
2283 uid = atoi(user);
2284 if ((pwd = getpwuid(uid)) == NULL) {
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.h196 uint32_t uid; /* container uid */ member in struct:aac_container
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dutil.c3596 * - If the real and effective uid's don't match, or the real and
3604 security(uid_t uid, uid_t euid, gid_t gid, gid_t egid, int auxflags) argument
3612 if (uid == (uid_t)-1)
3613 uid = getuid();
3614 if (uid) {
3617 if (uid != euid)
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c232 uid_t uid,
280 overlay, uid, alp);
639 uid_t uid,
2059 nfs_sec.sc_uid = uid;
227 mount_nfs( struct mapent *me, char *mntpnt, char *prevhost, int overlay, uid_t uid, action_list **alpp) argument
635 nfsmount( struct mapfs *mfs_in, char *mntpnt, char *opts, int overlay, uid_t uid, action_list *alp) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c945 * user 0 is not an ephemeral uid.
1387 uid_t uid; local
1401 uid = ksid_getid(ksid);
1403 uid = crgetuid(cr);
1407 IS_EPHEMERAL(uid) || IS_EPHEMERAL(gid)))
1879 uid_t uid; local
1894 uid = ksid_getid(ksid);
1896 uid = crgetuid(cr);
1899 IS_EPHEMERAL(uid) || IS_EPHEMERAL(gid)))
2743 * Make sure that if we have ephemeral uid/gi
[all...]
/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/uts/common/fs/nfs/
H A Dnfs_server.c1610 * then it will carry root (uid 0) credentials on it, and
2006 * information. Then map root uid/gid to appropriate uid/gid.
2020 uid_t uid; local
2082 access = nfsauth_access(exi, req, cr, &uid, &gid, &ngids, &gids);
2154 } else if (crgetuid(cr) != uid || crgetgid(cr) != gid) {
2155 if (crsetugid(cr, uid, gid) != 0)
2218 * mapped to uid 0 get all privileges, so setting cr's
2281 uid_t uid; local
2325 access = nfsauth4_access(cs->exi, cs->vp, req, cr, &uid,
[all...]
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c773 uint32_t uid, gid; local
777 long uid; member in struct:a
781 uid = (uint32_t)uap->uid;
784 au_uwrite(au_to_arg32(2, "new file uid", uid));
794 uint32_t uid, gid, fd; local
801 long uid; member in struct:a
806 uid = (uint32_t)uap->uid;
839 uint32_t uid, gid; local
844 long uid; member in struct:a
863 long uid; member in struct:a
883 uint32_t uid, gid; local
888 long uid; member in struct:a
1511 uid_t uid, ruid; local
2101 uid_t uid, ruid; local
2233 uint32_t uid; local
2236 long uid; member in struct:a
2608 uint32_t uid; local
2611 long uid; member in struct:a
4884 uid_t uid, ruid; local
5019 uid_t uid, ruid; local
5208 uid_t uid, ruid; local
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c211 uid_t uid; /* user id */ member in struct:usr
213 int aruncnt; /* counter for running jobs per uid */
214 int cruncnt; /* counter for running cron jobs per uid */
848 u->uid = (uid_t)-1;
951 u->uid = pw->pw_uid;
955 u->uid = pw->pw_uid;
1054 u->uid = pw->pw_uid;
1058 u->uid = pw->pw_uid;
2431 if ((e->u)->uid == 0) { /* set default path */
2440 e->u->uid,
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c1537 uid_t uid; local
1541 /* Get the uid */
1562 uid = ucred_geteuid(uc);
1563 assert(uid != (uid_t)-1);
1565 if (getpwuid_r(uid, &pw, pwbuf, sizeof (pwbuf)) == NULL) {
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm.h393 unsigned long uid; /**< User ID */ member in struct:drm_client
H A DdrmP.h496 uid_t uid; member in struct:drm_file
/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/zoneadm/
H A Dzoneadm.c1594 * e.g. sysidcfg, that require a real uid of root,
5651 uid_t uid; local
5664 uid = getuid();
5665 if ((nptr = getpwuid(uid)) == NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c1228 uid_t uid; local
1246 if ((uid = ucred_getruid((const ucred_t *)cred)) == (uid_t)-1) {
1252 if ((pw = getpwuid(uid)) == NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c153 mDNSu32 uid; member in struct:request_state
758 if (SystemUID(request->uid)) return mDNStrue;
763 if (delem->uid)
770 allow = (allow || (delem->uid == request->uid));
1883 if (!d->uid || SystemUID(request->uid) || request->uid == d->uid)
1905 if (!p->uid || SystemUI
2429 AddAutoBrowseDomain(const mDNSu32 uid, const domainname *const name) argument
2440 RmvAutoBrowseDomain(const mDNSu32 uid, const domainname *const name) argument
[all...]

Completed in 267 milliseconds

<<111213141516