]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use capsicum_helpers(3) that allow us to simplify the code and its functions
authoraraujo <araujo@FreeBSD.org>
Wed, 16 Jan 2019 00:39:23 +0000 (00:39 +0000)
committeraraujo <araujo@FreeBSD.org>
Wed, 16 Jan 2019 00:39:23 +0000 (00:39 +0000)
commit70b02a42b7507aa1d1a983ebd9dcdeaec0e7223f
treec20ea16dc5581b03d73f273867fd64105e27fe85
parentc3319380f45cdba6bb5ea66d9a1c59dc05653462
Use capsicum_helpers(3) that allow us to simplify the code and its functions
will return success when the kernel is built without support of
the capability mode.

It is important to note, that I'm taking a more conservative approach
with these changes and it will be done in small steps.

Reviewed by: jhb
MFC after: 6 weeks
Differential Revision: https://reviews.freebsd.org/D18744
13 files changed:
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/block_if.c
usr.sbin/bhyve/consport.c
usr.sbin/bhyve/dbgport.c
usr.sbin/bhyve/gdb.c
usr.sbin/bhyve/mevent.c
usr.sbin/bhyve/pci_e82545.c
usr.sbin/bhyve/pci_passthru.c
usr.sbin/bhyve/pci_virtio_console.c
usr.sbin/bhyve/pci_virtio_net.c
usr.sbin/bhyve/pci_virtio_rnd.c
usr.sbin/bhyve/rfb.c
usr.sbin/bhyve/uart_emul.c