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)
Thu, Jul 3, 7:41 PM
Unknown Object (File)
Sun, Jun 29, 5:52 AM
Unknown Object (File)
Sat, Jun 28, 8:46 PM
Unknown Object (File)
Sat, Jun 28, 2:01 PM
Unknown Object (File)
Sat, Jun 28, 5:55 AM
Unknown Object (File)
Fri, Jun 27, 8:49 AM
Unknown Object (File)
Thu, Jun 26, 3:40 PM
Unknown Object (File)
Thu, Jun 26, 9:40 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
1650

Can you be consistent about these things being bracketed in

#ifndef WITHOUT_CAPSICUM

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