FreeBSD Bugzilla – Attachment 229760 Details for
Bug 260081
bhyve: capsicum preventing blockif hole-punching detection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow detection of hole-punching
bhyve_blockif_candelete (text/plain), 494 bytes, created by
Chuck Tuffli
on 2021-11-27 21:17:44 UTC
(
hide
)
Description:
patch to allow detection of hole-punching
Filename:
MIME Type:
Creator:
Chuck Tuffli
Created:
2021-11-27 21:17:44 UTC
Size:
494 bytes
patch
obsolete
>diff --git a/usr.sbin/bhyve/block_if.c b/usr.sbin/bhyve/block_if.c >index 9d7371bec50f..d9813f30037f 100644 >--- a/usr.sbin/bhyve/block_if.c >+++ b/usr.sbin/bhyve/block_if.c >@@ -548,7 +548,7 @@ blockif_open(nvlist_t *nvl, const char *ident) > > #ifndef WITHOUT_CAPSICUM > cap_rights_init(&rights, CAP_FSYNC, CAP_IOCTL, CAP_READ, CAP_SEEK, >- CAP_WRITE, CAP_FSTAT, CAP_EVENT); >+ CAP_WRITE, CAP_FSTAT, CAP_EVENT, CAP_FPATHCONF); > if (ro) > cap_rights_clear(&rights, CAP_FSYNC, CAP_WRITE); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 260081
: 229760