Page MenuHomeFreeBSD

D41348.diff
No OneTemporary

D41348.diff

diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -621,7 +621,7 @@
*/
if (*(argv + 1) == NULL) {
#ifdef HAVE_CAPSICUM
- cap_rights_init(&rights, CAP_READ);
+ cap_rights_init(&rights, CAP_READ, CAP_FSTAT);
if (caph_rights_limit(fileno(f), &rights) < 0 ||
caph_enter() < 0)
err(1, "capsicum");

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 5:50 AM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14690604
Default Alt Text
D41348.diff (369 B)

Event Timeline