Lines Matching refs:acc_mode
3153 int acc_mode, int flag) in may_open() argument
3166 if (acc_mode & MAY_WRITE) in may_open()
3168 if (acc_mode & MAY_EXEC) in may_open()
3178 if (acc_mode & MAY_EXEC) in may_open()
3183 if ((acc_mode & MAY_EXEC) && path_noexec(path)) in may_open()
3188 error = inode_permission(idmap, inode, MAY_OPEN | acc_mode); in may_open()
3522 int acc_mode; in do_open() local
3547 acc_mode = op->acc_mode; in do_open()
3551 acc_mode = 0; in do_open()
3558 error = may_open(idmap, &nd->path, acc_mode, open_flag); in do_open()
3562 error = ima_file_check(file, op->acc_mode); in do_open()