Lines Matching defs:requested
818 * filesystem requested native labeling. We had already
3238 * @requested: the accesses being requested
3241 * @requested. Returns 0 if allowed, negative values otherwise.
3243 static int selinux_inode_permission(struct inode *inode, int requested)
3255 mask = requested & (MAY_READ|MAY_WRITE|MAY_EXEC|MAY_APPEND);
3265 isec = inode_security_rcu(inode, requested & MAY_NOT_BLOCK);
3286 (requested & MAY_ACCESS) ?
3860 u32 requested, u16 cmd)
3890 rc = avc_has_extended_perms(ssid, isec->sid, isec->sclass, requested,
4377 static int selinux_kernel_load_from_file(struct file *file, u32 requested)
4386 return avc_has_perm(sid, sid, SECCLASS_SYSTEM, requested, NULL);
4399 return avc_has_perm(sid, isec->sid, SECCLASS_SYSTEM, requested, &ad);
6859 * @attr: the requested attribute
6864 * Fill the passed user space @ctx with the details of the requested
7381 u32 requested, sid = current_sid();
7384 requested = PERF_EVENT__OPEN;
7386 requested = PERF_EVENT__CPU;
7388 requested = PERF_EVENT__KERNEL;
7390 requested = PERF_EVENT__TRACEPOINT;
7395 requested, NULL);
7429 * selinux_uring_override_creds - check the requested cred override