]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Lift cpuset Capsicum checks into a subroutine.
authorMark Johnston <markj@FreeBSD.org>
Mon, 6 Jul 2020 16:33:21 +0000 (16:33 +0000)
committerMark Johnston <markj@FreeBSD.org>
Mon, 6 Jul 2020 16:33:21 +0000 (16:33 +0000)
commit9eb997cb48aa57767039e30cd443c52b233e031b
tree85c9ab232f353d64d07a14a121fe65a620e7e121
parent60185d89654911ddfe8094b8701dc9e45ea0f11d
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