mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
- Add a missing unlock to cpuset_setaffinity(CPU_LEVEL_CPUSET, CPU_WHICH_PID)
Found by: gallatin
This commit is contained in:
parent
56abdd3350
commit
c6440f72b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176880
@ -916,6 +916,7 @@ cpuset_setaffinity(struct thread *td, struct cpuset_setaffinity_args *uap)
|
||||
thread_lock(ttd);
|
||||
set = cpuset_ref(ttd->td_cpuset);
|
||||
thread_unlock(ttd);
|
||||
PROC_UNLOCK(p);
|
||||
break;
|
||||
case CPU_WHICH_CPUSET:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user