View | Details | Raw Unified | Return to bug 260081
Collapse All | Expand All

(-)b/usr.sbin/bhyve/block_if.c (-1 / +1 lines)
Lines 548-554 blockif_open(nvlist_t *nvl, const char *ident) Link Here
548
548
549
#ifndef WITHOUT_CAPSICUM
549
#ifndef WITHOUT_CAPSICUM
550
	cap_rights_init(&rights, CAP_FSYNC, CAP_IOCTL, CAP_READ, CAP_SEEK,
550
	cap_rights_init(&rights, CAP_FSYNC, CAP_IOCTL, CAP_READ, CAP_SEEK,
551
	    CAP_WRITE, CAP_FSTAT, CAP_EVENT);
551
	    CAP_WRITE, CAP_FSTAT, CAP_EVENT, CAP_FPATHCONF);
552
	if (ro)
552
	if (ro)
553
		cap_rights_clear(&rights, CAP_FSYNC, CAP_WRITE);
553
		cap_rights_clear(&rights, CAP_FSYNC, CAP_WRITE);
554
554

Return to bug 260081