Index: lib/libcapsicum/capsicum_helpers.h =================================================================== --- lib/libcapsicum/capsicum_helpers.h +++ lib/libcapsicum/capsicum_helpers.h @@ -58,9 +58,9 @@ CAP_IOCTL, CAP_SEEK); if ((flags & CAPH_READ) != 0) - cap_rights_set(&rights, CAP_READ); + cap_rights_set(&rights, CAP_READ, CAP_MMAP_R); if ((flags & CAPH_WRITE) != 0) - cap_rights_set(&rights, CAP_WRITE); + cap_rights_set(&rights, CAP_WRITE, CAP_MMAP_W); if ((flags & CAPH_LOOKUP) != 0) cap_rights_set(&rights, CAP_LOOKUP);