Skip to content
Commit e9cfc54d authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

kernel: remove k_object_access_revoke() as syscall



Forthcoming patches will dual-purpose an object's permission
bitfield as also reference tracking for kernel objects, used to
handle automatic freeing of resources.

We do not want to allow user thread A to revoke thread B's access
to some object O if B is in the middle of an API call using O.

However we do want to allow threads to revoke their own access to
an object, so introduce a new API and syscall for that.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent a2480bd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment