Lines Matching refs:mode
32 ** mode -- mode bits that must match.
37 ** 0 if fn exists, is owned by uid, and matches mode.
45 safefile(fn, uid, gid, user, flags, mode, st)
51 int mode;
63 sm_dprintf("safefile(%s, uid=%d, gid=%d, flags=%lx, mode=%o):\n",
64 fn, (int) uid, (int) gid, flags, mode);
245 sm_dprintf("\t[final dir %s uid %d mode %lo] %s\n",
259 sm_dprintf("\t[slink mode %lo]\tE_SM_NOSLINK\n",
267 sm_dprintf("\t[non-reg mode %lo]\tE_SM_REGONLY\n",
302 bitset(S_IWUSR|S_IWGRP|S_IWOTH, mode) &&
322 mode >>= 6;
331 mode >>= 3;
346 mode >>= 3;
350 mode >>= 3;
353 sm_dprintf("\t[uid %d, nlink %d, stat %lo, mode %lo] ",
355 (unsigned long) st->st_mode, (unsigned long) mode);
359 (st->st_mode & mode) == mode)
403 int mode = S_IWOTH;
427 mode |= S_IWGRP;
593 bitset(mode, stbuf.st_mode))
596 sm_dprintf("\t[dir %s] mode %lo ",
671 ** omode -- the open-style mode flags.
672 ** cmode -- the create-style mode flags.
778 ** omode -- the open-style mode flags.
779 ** cmode -- the create-style mode flags.