Lines Matching defs:mode
38 umode_t mode = inode->i_mode;
40 if (!(mode & S_ISGID))
42 if (mode & S_IXGRP)
68 umode_t mode = inode->i_mode;
72 if (unlikely(mode & S_ISUID))
77 if (unlikely(kill && !capable(CAP_FSETID) && S_ISREG(mode)))
151 * SGID bit from mode if user is not allowed to set it. Also file capabilities
315 umode_t mode = attr->ia_mode;
318 mode &= ~S_ISGID;
319 inode->i_mode = mode;
383 umode_t mode = inode->i_mode;
396 * Don't allow changing the mode of symlinks:
398 * (1) The vfs doesn't take the mode of symlinks into account
402 * but did still updated the mode of the symlink.
404 * as libc to block changing the mode of symlinks with
439 * that the function has the ability to reinterpret a mode change
449 if (mode & S_ISUID) {
455 if (mode & S_ISGID) {