Searched refs:rval (Results 1 - 8 of 8) sorted by relevance

/sendmail/sendmail/
H A Dcontrol.c66 int rval; local
79 rval = safefile(ControlSocketName, RunAsUid, RunAsGid, RunAsUserName,
83 if (rval != 0)
85 errno = rval;
180 int rval; local
188 rval = safefile(ControlSocketName, RunAsUid, RunAsGid,
192 if (rval != 0)
H A Drecipient.c1438 int rval = 0; local
1514 rval = EAGAIN;
1527 rval = EAGAIN;
1535 rval = EAGAIN;
1544 rval = EAGAIN;
1553 rval = EAGAIN;
1578 rval = E_SM_OPENTIMEOUT;
1653 rval = safefile(fname, uid, gid, user, sfflags, S_IREAD, &st);
1654 if (rval != 0)
1659 (int) uid, sm_errstring(rval));
[all...]
H A Dmain.c3695 int rval = EX_OK; local
3734 rval = EX_OSERR;
3753 rval = EX_OSERR;
3761 rval = EX_OSERR;
3769 rval = EX_OSERR;
3775 if (rval == EX_OK && (to_real_uid || RunAsGid != 0))
3781 rval = EX_OSERR;
3784 if (rval == EX_OK && getegid() != RunAsGid)
3788 rval = EX_OSERR;
3822 rval
[all...]
H A Ddaemon.c1067 int rval; local
1071 rval = safefile(d->d_addr.sunix.sun_path,
1075 if (rval != 0)
2924 int rval, save_errno; local
2929 rval = safefile(mux_path, RunAsUid, RunAsGid, RunAsUserName,
2932 if (rval != 0)
2937 errno = rval;
3055 int rval; local
3059 rval = safefile(Daemons[i].d_addr.sunix.sun_path,
3063 if (rval
[all...]
H A Dmap.c6317 char *rval; local
6365 rval = NULL;
6372 rval = NULL;
6383 rval = map_rewrite(map, name, strlen(name), NULL);
6385 rval = map_rewrite(map, buf, strlen(buf), av);
6404 rval = NULL;
6409 rval = NULL;
6416 rval = NULL;
6418 return rval;
7378 char *rval; local
7962 char *replybuf, *rval, *value, *status, *key; local
[all...]
H A Dheaders.c496 unsigned long rval; local
520 rval = dochompheader(xbp, pflag, hdrp, e);
525 rval = dochompheader(line, pflag, hdrp, e);
527 return rval;
H A Dconf.c2145 bool rval; local
2171 rval = pri > (QueueFactor / (CurrentLA - QueueLA + 1));
2173 sm_dprintf("%s (by calculation)\n", rval ? "true" : "false");
2174 return rval;
3708 int rval; local
3721 rval = fpathconf(fd, _PC_CHOWN_RESTRICTED);
3723 return errno == 0 && rval IS_SAFE_CHOWN;
3725 return safedir && errno == 0 && rval IS_SAFE_CHOWN;
/sendmail/libsmutil/
H A Dsafefile.c690 int rval; local
721 rval = safefile(fn, RunAsUid, RunAsGid, RunAsUserName,
724 rval = safefile(fn, RealUid, RealGid, RealUserName,
726 if (rval != 0)
728 errno = rval;

Completed in 203 milliseconds