]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Lift cpuset Capsicum checks into a subroutine.
authormarkj <markj@FreeBSD.org>
Mon, 6 Jul 2020 16:33:21 +0000 (16:33 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 6 Jul 2020 16:33:21 +0000 (16:33 +0000)
commit5d8ca753a24a876b8d6ff7da490e252f578d00f4
tree85c9ab232f353d64d07a14a121fe65a620e7e121
parent6cee1596c05e8a9ab64812444627b61c584ca6bc
Lift cpuset Capsicum checks into a subroutine.

Otherwise the same checks are duplicated across four different system
call implementations, cpuset_(get|set)(affinity|domain)().  No
functional change intended.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/kern/kern_cpuset.c