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

/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A DMakefile39 OBJS= cf.o debug.o err.o lockfile.o safefile.o snprintf.o
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.
/illumos-gate/usr/src/cmd/sendmail/include/sendmail/
H A Dsendmail.h37 ** Flags passed to safefile/safedirpath.
67 extern int safefile __P((char *, UID_T, GID_T, char *, long, int, struct stat *));
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcontrol.c81 rval = safefile(ControlSocketName, RunAsUid, RunAsGid, RunAsUserName,
190 rval = safefile(ControlSocketName, RunAsUid, RunAsGid,
H A Drecipient.c1375 errno = safefile(filename, euid, egid, user, flags, S_IWRITE, NULL);
1655 rval = safefile(fname, uid, gid, user, sfflags, S_IREAD, &st);
H A Ddaemon.c1070 rval = safefile(d->d_addr.sunix.sun_path,
2922 rval = safefile(mux_path, RunAsUid, RunAsGid, RunAsUserName,
3052 rval = safefile(Daemons[i].d_addr.sunix.sun_path,
H A Dtls.c394 ** sff -- flags for safefile()
409 if ((ret = safefile(var, RunAsUid, RunAsGid, RunAsUserName, sff,
464 ** sff -- flags for safefile()
H A Dmap.c1459 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 Dutil.c2170 ret = safefile(argv[0], DefUid, DefGid, DefUser, sff, 0, NULL);
H A Dusersmtp.c1364 if ((r = safefile(p, RunAsUid, RunAsGid, RunAsUserName, sff,
H A Ddeliver.c2693 ret = safefile(m->m_mailer, getuid(), getgid(),
H A Dmilter.c772 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,
H A Dqueue.c5921 ** sff -- flags for safefile()
7131 safefile(" ", RunAsUid, RunAsGid, RunAsUserName, sff,
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c176 ** sff -- Flags to safefile.
310 ** sff -- Flags to safefile.
422 ** sff -- Flags to safefile.
449 st = safefile(db_file_name, user_info->smdbu_id,
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c253 errno = safefile(colon, RunAsUid, RunAsGid, RunAsUserName, sff,
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c387 struct safefile { struct
389 struct safefile *next;
392 static struct safefile *safefiles = NULL;
2265 struct safefile *safefilep;
2311 sizeof (struct safefile));
2319 sizeof (struct safefile));

Completed in 168 milliseconds