Page MenuHomeFreeBSD

D41967.diff
No OneTemporary

D41967.diff

diff --git a/bin/cat/cat.c b/bin/cat/cat.c
--- a/bin/cat/cat.c
+++ b/bin/cat/cat.c
@@ -155,7 +155,7 @@
err(EXIT_FAILURE, "unable to create Casper");
fa = fileargs_cinit(casper, argc, argv, O_RDONLY, 0,
- cap_rights_init(&rights, CAP_READ | CAP_FSTAT | CAP_FCNTL),
+ cap_rights_init(&rights, CAP_READ | CAP_FSTAT | CAP_FCNTL | CAP_SEEK),
FA_OPEN | FA_REALPATH);
if (fa == NULL)
err(EXIT_FAILURE, "unable to create fileargs");

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 25, 4:53 PM (17 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16153236
Default Alt Text
D41967.diff (452 B)

Event Timeline