Searched refs:open_as (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/postfix-255/postfix/src/util/
H A Dopen_as.h6 /* open_as 3h
11 /* #include <open_as.h>
17 extern int open_as(const char *, int, int, uid_t, gid_t);
H A Dopen_as.c3 /* open_as 3
8 /* #include <open_as.h>
10 /* int open_as(path, flags, mode, euid, egid)
16 /* open_as() opens the named \fIpath\fR with the named \fIflags\fR
44 #include "open_as.h"
46 /* open_as - open file as user */
48 int open_as(const char *path, int flags, int mode, uid_t euid, gid_t egid) function
/macosx-10.10/postfix-255/postfix/src/local/
H A Dinclude.c60 #include <open_as.h>
198 #define FOPEN_AS(p,u,g) ((fd = open_as(p,O_RDONLY,0,u,g)) >= 0 ? \
H A Ddotforward.c66 #include <open_as.h>
248 } else if ((fd = open_as(STR(path), O_RDONLY, 0, usr_attr.uid, usr_attr.gid)) < 0) {

Completed in 66 milliseconds