Lines Matching defs:mode
37 umode_t mode = inode->i_mode;
39 if (!(mode & S_ISGID))
41 if (mode & S_IXGRP)
64 umode_t mode = inode->i_mode;
68 if (unlikely(mode & S_ISUID))
73 if (unlikely(kill && !capable(CAP_FSETID) && S_ISREG(mode)))
114 * SGID bit from mode if user is not allowed to set it. Also file capabilities
253 umode_t mode = attr->ia_mode;
255 mode &= ~S_ISGID;
256 inode->i_mode = mode;
284 umode_t mode = inode->i_mode;
313 * Don't allow changing the mode of symlinks:
315 * (1) The vfs doesn't take the mode of symlinks into account
319 * but did still updated the mode of the symlink.
321 * as libc to block changing the mode of symlinks with
356 * that the function has the ability to reinterpret a mode change
366 if (mode & S_ISUID) {
372 if (mode & S_ISGID) {