Searched defs:uid (Results 1 - 5 of 5) sorted by relevance

/sendmail/libsm/
H A Dt-sem.c131 drop_priv(uid, gid)
132 uid_t uid;
140 r = setuid(uid);
158 semtest(owner, uid, gid)
160 uid_t uid;
166 if (!owner && uid != 0)
168 r = drop_priv(uid, gid);
184 if (uid != 0)
186 r = sm_semsetowner(semid, uid, gid, 0660);
192 r = drop_priv(uid, gi
326 uid_t uid; local
[all...]
/sendmail/sendmail/
H A Drecipient.c143 ** send to -- effective uid/gid are important.
1278 ** won't necessarily be the real uid when we try to
1435 volatile uid_t uid; local
1458 sm_dprintf("include: old uid = %d/%d\n",
1495 uid = DefUid;
1501 uid = ca->q_uid;
1539 if (uid != 0)
1542 if (seteuid(uid) < 0)
1546 uid, (int) getuid(), (int) geteuid());
1551 if (setreuid(0, uid) <
[all...]
H A Dconf.c1134 uid_t uid = RealUid; local
1137 (uid != 0 && uid != pw->pw_uid))
1139 pw = sm_getpwuid(uid);
1329 ** won't let it call set*uid() or run setuid binaries without
3885 int DefShareUid; /* default share uid to run as -- unused??? */
3948 ** uid -- the uid we are about to become.
3955 vendor_set_uid(uid)
3956 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",
891 syserr("cannot rename(%s, %s), uid=%d",
978 ** The last control address and uid are saved.
988 uid_t uid; local
1003 /* find the active uid */
1008 uid = 0;
1014 uid
[all...]
/sendmail/mail.local/
H A Dmail.local.c206 uid_t uid; local
389 ** uid matches, otherwise, use the name from the password file
390 ** corresponding to the uid.
393 uid = getuid();
396 pw->pw_uid != uid))
397 from = (pw = getpwuid(uid)) != NULL ? pw->pw_name : "???";

Completed in 88 milliseconds