/titanic_50/usr/src/cmd/sendmail/src/ |
H A D | control.c | 81 rval = safefile(ControlSocketName, RunAsUid, RunAsGid, RunAsUserName, in opencontrolsocket() 120 if (RunAsUid != 0) in opencontrolsocket() 121 u = RunAsUid; in opencontrolsocket() 190 rval = safefile(ControlSocketName, RunAsUid, RunAsGid,
|
H A D | main.c | 568 RunAsUid = RealUid; 571 RunAsUid = geteuid(); 583 (int) RunAsUid, (int) RunAsGid); 3701 (int) RunAsUid, (int) RunAsGid); 3706 RunAsUid = RealUid; 3790 if (to_real_uid || RunAsUid != 0) 3801 if (setuid(RunAsUid) < 0 || 3802 geteuid() != RunAsUid || 3803 (getuid() != RunAsUid && 3813 if (geteuid() == RunAsUid) [all …]
|
H A D | queue.c | 5980 i = safedirpath(name, RunAsUid, RunAsGid, NULL, sff, 0, 0); 6055 if (RunAsUid == 0) 6175 i = safedirpath(basedir, RunAsUid, RunAsGid, NULL, 6283 i = safedirpath(qpath, RunAsUid, RunAsGid, NULL, sff, 0, 0); 6628 if (owner && RunAsUid != 0) 6632 r = sm_semsetowner(SemId, RunAsUid, RunAsGid, 0660); 6636 (long) SemKey, r, RunAsUid, RunAsGid); 6783 if (geteuid() == 0 && RunAsUid != 0) 6789 if (fd >= 0 && fchown(fd, RunAsUid, -1) < 0) 6795 keypath, RunAsUid, sm_errstring(err)); [all …]
|
H A D | deliver.c | 2511 if (RunAsUid != 0 && 2518 (int) RunAsUid, (int) new_gid, 2557 new_euid = RunAsUid; 2611 if (RunAsUid != 0 && new_euid != RunAsUid) 2615 (int) new_euid, (int) RunAsUid); 5316 RealUid = RunAsUid; 5319 if (RunAsUid != 0 && RealUid != RunAsUid) 5323 (int) RunAsUid, (int) RealUid); 5358 if (RunAsUid != 0 && 5364 (int) RealGid, (int) RunAsUid,
|
H A D | readcf.c | 2384 bool can_setuid = RunAsUid == 0; 3290 RunAsUid = atoi(val); 3306 RunAsUid = pw->pw_uid; 3318 if (RunAsUid > UID_MAX) 3321 (long) RunAsUid, (long) UID_MAX); 3361 (int) RunAsUid, (int) RunAsGid); 3569 RunAsUid != RealUid)
|
H A D | daemon.c | 1071 RunAsUid, RunAsGid, 2922 rval = safefile(mux_path, RunAsUid, RunAsGid, RunAsUserName, 3053 RunAsUid, RunAsGid, in shutdown_daemon() 3140 drop = !(UseMSP && RunAsUid != 0 && in restart_daemon() 3141 (RealUid == 0 || RealUid == RunAsUid)); in restart_daemon()
|
H A D | recipient.c | 1484 if ((geteuid() != 0 || RunAsUid != 0) && 1489 (int) geteuid(), (int) RunAsUid);
|
H A D | alias.c | 994 if (LogLevel > (RunAsUid == 0 ? 2 : 10))
|
H A D | map.c | 1459 ret = safefile(dirfile, RunAsUid, RunAsGid, RunAsUserName, 1462 ret = safefile(pagfile, RunAsUid, RunAsGid, RunAsUserName, 2057 i = safefile(buf, RunAsUid, RunAsGid, RunAsUserName, sff, smode, &st); 5739 if ((i = safefile(map->map_file, RunAsUid, RunAsGid, RunAsUserName, 7532 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,
|
H A D | tls.c | 409 if ((ret = safefile(var, RunAsUid, RunAsGid, RunAsUserName, sff,
|
H A D | sendmail.h | 2322 EXTERN uid_t RunAsUid; /* UID to become for bulk of run */ variable
|
H A D | usersmtp.c | 1364 if ((r = safefile(p, RunAsUid, RunAsGid, RunAsUserName, sff,
|
H A D | milter.c | 772 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,
|
/titanic_50/usr/src/cmd/sendmail/aux/ |
H A D | editmap.c | 50 uid_t RunAsUid; variable 122 RunAsUid = RealUid = getuid(); 131 user_info.smdbu_id = RunAsUid;
|
H A D | praliases.c | 47 uid_t RunAsUid; variable 75 RunAsUid = RealUid = getuid(); 300 user_info.smdbu_id = RunAsUid;
|
H A D | makemap.c | 46 uid_t RunAsUid; variable 127 RunAsUid = RealUid = getuid(); 136 user_info.smdbu_id = RunAsUid;
|
/titanic_50/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 78 if (RealUid != 0 && RunAsUid == RealUid) 721 rval = safefile(fn, RunAsUid, RunAsGid, RunAsUserName,
|
/titanic_50/usr/src/cmd/sendmail/libmilter/ |
H A D | listener.c | 253 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,
|