Page MenuHomeFreeBSD

bhyve - snapshot capsicum integration[Part 3]
AbandonedPublic

Authored by ionut.mihalache1506_gmail.com on Mar 17 2022, 2:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 1, 7:32 AM
Unknown Object (File)
Fri, Jul 25, 8:22 AM
Unknown Object (File)
Sun, Jul 20, 1:47 AM
Unknown Object (File)
Mon, Jul 14, 8:00 AM
Unknown Object (File)
Mon, Jul 14, 7:48 AM
Unknown Object (File)
Sun, Jul 13, 1:06 PM
Unknown Object (File)
Jul 8 2025, 6:28 PM
Unknown Object (File)
Jul 5 2025, 5:18 AM

Details

Reviewers
None
Group Reviewers
bhyve
capsicum
Summary

This is the third part for the capsicum integration. It provides changes regarding the rebase process with a newer version for bhyve and it eliminates some changes that are unnecessary.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lwhsu added a subscriber: lwhsu.
lwhsu added inline comments.
Makefile.inc1
2782

this seems already in the latest code, maybe missed in rebase?

ionut.mihalache1506_gmail.com added a subscriber: rew.

Made the necessary changes to the solution in order to solve a issue mentioned by @rew(there is a problem when the first disk uses /dev/md0. Instead of using the parent directory of the first disk, now the snapshot directory can be specified at boot time using -t option.
I also did refactor the code to remove unnecessary/unused parts before and after the changes.

andy_omniosce.org added inline comments.
usr.sbin/bhyve/snapshot.c
1652

Can you be consistent about these things being bracketed in

#ifndef WITHOUT_CAPSICUM

?
The #endif just above here closes the previous conditional block.