Searched refs:safefile (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.0-release/lib/libsmutil/
H A DMakefile17 SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c
/freebsd-10.0-release/contrib/sendmail/include/sendmail/
H A Dsendmail.h35 ** Flags passed to safefile/safedirpath.
65 extern int safefile __P((char *, UID_T, GID_T, char *, long, int, struct stat *));
/freebsd-10.0-release/contrib/sendmail/src/
H A Dcontrol.c79 rval = safefile(ControlSocketName, RunAsUid, RunAsGid, RunAsUserName,
188 rval = safefile(ControlSocketName, RunAsUid, RunAsGid,
H A Drecipient.c1373 errno = safefile(filename, euid, egid, user, flags, S_IWRITE, NULL);
1653 rval = safefile(fname, uid, gid, user, sfflags, S_IREAD, &st);
H A Ddaemon.c1071 rval = safefile(d->d_addr.sunix.sun_path,
2929 rval = safefile(mux_path, RunAsUid, RunAsGid, RunAsUserName,
3059 rval = safefile(Daemons[i].d_addr.sunix.sun_path,
H A Dtls.c419 ** sff -- flags for safefile()
434 if ((ret = safefile(var, RunAsUid, RunAsGid, RunAsUserName, sff,
489 ** sff -- flags for safefile()
H A Dmap.c1454 ret = safefile(dirfile, RunAsUid, RunAsGid, RunAsUserName,
1457 ret = safefile(pagfile, RunAsUid, RunAsGid, RunAsUserName,
2052 i = safefile(buf, RunAsUid, RunAsGid, RunAsUserName, sff, smode, &st);
5737 if ((i = safefile(map->map_file, RunAsUid, RunAsGid, RunAsUserName,
7530 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,
H A Dutil.c2169 ret = safefile(argv[0], DefUid, DefGid, DefUser, sff, 0, NULL);
H A Dusersmtp.c1372 if ((r = safefile(p, RunAsUid, RunAsGid, RunAsUserName, sff,
H A Ddeliver.c2701 ret = safefile(m->m_mailer, getuid(), getgid(),
H A Dmilter.c777 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,
H A Dqueue.c5945 ** sff -- flags for safefile()
7155 safefile(" ", RunAsUid, RunAsGid, RunAsUserName, sff,
/freebsd-10.0-release/contrib/sendmail/libsmutil/
H A Dsafefile.c18 SM_RCSID("@(#)$Id: safefile.c,v 8.129 2008/08/04 18:07:04 gshapiro Exp $")
46 safefile(fn, uid, gid, user, flags, mode, st) function
64 sm_dprintf("safefile(%s, uid=%d, gid=%d, flags=%lx, mode=%o):\n",
674 ** sff -- safefile flags.
721 rval = safefile(fn, RunAsUid, RunAsGid, RunAsUserName,
724 rval = safefile(fn, RealUid, RealGid, RealUserName,
781 ** sff -- safefile flags.
/freebsd-10.0-release/contrib/sendmail/libsmdb/
H A Dsmdb.c174 ** sff -- Flags to safefile.
308 ** sff -- Flags to safefile.
420 ** sff -- Flags to safefile.
447 st = safefile(db_file_name, user_info->smdbu_id,
/freebsd-10.0-release/usr.sbin/rtsold/
H A Drtsol.c89 static int safefile(const char *);
835 if (safefile(scriptpath)) {
883 safefile(const char *path) function
/freebsd-10.0-release/contrib/sendmail/libmilter/
H A Dlistener.c253 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,

Completed in 296 milliseconds