Lines Matching defs:mode
34 mode_t mode, mode_t mask);
37 uid_t uid, uid_t gid, mode_t mode, mode_t mask,
61 return perform_checks(stat_buf, uid, gid, mode, mask);
65 mode_t mode, mode_t mask,
86 return perform_checks(stat_buf, uid, gid, mode, mask);
91 mode_t mode, mode_t mask)
101 if ((mode & S_IFMT) != (st_mode & S_IFMT)) {
106 if ((st_mode & ALLPERMS) != (mode & ALLPERMS)) {
108 "File has the wrong (bit masked) mode [%.7o], "
110 (st_mode & ALLPERMS), (mode & ALLPERMS));
129 mode_t mode, mode_t mask)
142 ret = check_fd(*fd, uid, gid, mode, mask, &stat_buf);