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)
Nov 5 2024, 3:26 PM
Unknown Object (File)
Oct 27 2024, 6:53 PM
Unknown Object (File)
Sep 28 2024, 4:09 AM
Unknown Object (File)
Sep 27 2024, 8:24 PM
Unknown Object (File)
Sep 27 2024, 5:54 AM
Unknown Object (File)
Sep 26 2024, 8:26 PM
Unknown Object (File)
Sep 25 2024, 1:39 PM
Unknown Object (File)
Sep 24 2024, 9:14 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.