Page MenuHomeFreeBSD

bhyve: remove #ifndef WITHOUT_CAPSICUM cases
AcceptedPublic

Authored by emaste on Oct 4 2023, 3:05 PM.
Tags
None
Referenced Files
F102559029: D42076.diff
Thu, Nov 14, 1:36 AM
Unknown Object (File)
Wed, Oct 23, 1:03 PM
Unknown Object (File)
Sat, Oct 19, 9:57 AM
Unknown Object (File)
Sep 24 2024, 3:03 PM
Unknown Object (File)
Sep 14 2024, 1:45 PM
Unknown Object (File)
Sep 8 2024, 4:44 PM
Unknown Object (File)
Sep 1 2024, 7:47 PM
Unknown Object (File)
Sep 1 2024, 12:08 AM

Details

Reviewers
cperciva
corvink
Group Reviewers
bhyve
capsicum
Summary

Capsicum is non-optional as of c24c117b9644 ("Remove
WITHOUT_{CAPSICUM,CASPER} options").

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Oct 4 2023, 3:05 PM

If you don't mind, I'll finally commit some of my move-stuff-to-an-amd64-subdir first, since it's going to be painful to rebase that on top of this.

Mark is going to move some of the files around. Hold off until that happens, since this change is trivial to regenerate.

This is a bit orthogonal to the change I made. I removed the option to build the entire FreeBSD tree without Capsicum, but there could conceivably be a desire to build bhyve without Capsicum. (For example, I think the snapshot code needed Capsicum to be disabled for a while.)

I'm not objecting to the change, just wanted to point out that it's not quite the same thing. BTW I was planning on sweeping the tree to finish the "get rid of MK_CAPSICUM/CASPER" process after 14.0 is released.

This revision is now accepted and ready to land.Oct 16 2023, 7:48 AM

For example, I think the snapshot code needed Capsicum to be disabled for a while.

Yes, it did, and that sort of thing is the reason I want to pursue this -- Capsicum is (now) a non-optional part of FreeBSD, and our expectation is that it should be used where appropriate. It's better to think about how to appropriately sandbox new functionality at the time it is being developed, rather than being retrofitted afterwards.