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
F120832020: D34587.id103945.diff
Sat, Jun 21, 11:46 AM
Unknown Object (File)
Thu, Jun 19, 1:47 AM
Unknown Object (File)
Tue, Jun 17, 11:59 AM
Unknown Object (File)
Thu, May 29, 10:38 PM
Unknown Object (File)
Wed, May 28, 7:00 PM
Unknown Object (File)
Apr 29 2025, 7:45 PM
Unknown Object (File)
Apr 23 2025, 1:05 PM
Unknown Object (File)
Apr 21 2025, 5:21 PM

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.