Lines Matching refs:path
16 /* MBOX *mbox_open(path, flags, mode, st, user, group, lock_style,
18 /* const char *path;
105 MBOX *mbox_open(const char *path, int flags, mode_t mode, struct stat * st,
140 && (stat(path, st) < 0 || S_ISREG(st->st_mode))) {
141 if (dot_lockfile(path, why->reason) == 0) {
158 * system may be attacked by a malicious user-specified path, or the
163 if ((fp = safe_open(path, flags | O_NONBLOCK, mode, st,
167 dot_unlockfile(path);
188 dot_unlockfile(path);
209 msg_warn("%s: file status changed unexpectedly", path);
211 dot_unlockfile(path);
216 mp->path = mystrdup(path);
236 dot_unlockfile(mp->path);
237 myfree(mp->path);