Lines Matching defs:mode
42 * This is necessary because the mode-parsing code here makes use of such
88 abs(mode_t mode, o_mode_t *group_clear_bits, o_mode_t *group_set_bits),
108 * We are parsing a comma-separated list of mode expressions of the form:
119 * new_mode contains the mode value constructed by parsing the
121 * old_mode contains the mode provided by the caller
140 mode_t old_mode = new_mode; /* save original mode */
343 /* create new mode */
409 /* create new mode */
455 * changed when the mode argument is a string
463 * create new mode:
483 errmsg(1, 5, gettext("invalid mode\n"));
490 abs(mode_t mode, o_mode_t *group_clear_bits, o_mode_t *group_set_bits)
498 errmsg(1, 6, gettext("invalid mode\n"));
501 * The ISGID bit on directories will not be changed when the mode argument is
507 if ((mode & S_IFMT) == S_IFDIR)
508 return ((i & ~S_ISGID) | (mode & S_ISGID));