Lines Matching defs:mode
33 ** mode -- mode bits that must match.
38 ** 0 if fn exists, is owned by uid, and matches mode.
46 safefile(fn, uid, gid, user, flags, mode, st)
52 int mode;
64 sm_dprintf("safefile(%s, uid=%d, gid=%d, flags=%lx, mode=%o):\n",
65 fn, (int) uid, (int) gid, flags, mode);
246 sm_dprintf("\t[final dir %s uid %d mode %lo] %s\n",
260 sm_dprintf("\t[slink mode %lo]\tE_SM_NOSLINK\n",
268 sm_dprintf("\t[non-reg mode %lo]\tE_SM_REGONLY\n",
303 bitset(S_IWUSR|S_IWGRP|S_IWOTH, mode) &&
323 mode >>= 6;
332 mode >>= 3;
347 mode >>= 3;
351 mode >>= 3;
354 sm_dprintf("\t[uid %d, nlink %d, stat %lo, mode %lo] ",
356 (unsigned long) st->st_mode, (unsigned long) mode);
360 (st->st_mode & mode) == mode)
404 int mode = S_IWOTH;
428 mode |= S_IWGRP;
594 bitset(mode, stbuf.st_mode))
597 sm_dprintf("\t[dir %s] mode %lo ",
672 ** omode -- the open-style mode flags.
673 ** cmode -- the create-style mode flags.
779 ** omode -- the open-style mode flags.
780 ** cmode -- the create-style mode flags.