mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
posix-cpu-timers: Provide task validation functions
The code contains three slightly different copies of validating whether a given clock resolves to a valid task and whether the current caller has permissions to access it. Create central functions. Replace check_clock() as a first step and rename it to something sensible. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190821192919.326097175@linutronix.de
This commit is contained in:
parent
a42e43c3de
commit
6ae40e3fdc
1 changed files with 44 additions and 21 deletions
Loading…
Add table
Add a link
Reference in a new issue