Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142598768
D9723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
488 B
Referenced Files
None
Subscribers
None
D9723.diff
View Options
Index: head/usr.bin/lam/lam.c
===================================================================
--- head/usr.bin/lam/lam.c
+++ head/usr.bin/lam/lam.c
@@ -86,6 +86,8 @@
if (argc == 1)
usage();
+ if (caph_limit_stdio() == -1)
+ err(1, "unable to limit stdio");
getargs(argv);
if (!morefiles)
usage();
@@ -95,7 +97,6 @@
* mode.
*/
caph_cache_catpages();
- caph_limit_stdio();
if (cap_enter() < 0 && errno != ENOSYS)
err(1, "unable to enter capability mode");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 22, 9:46 AM (13 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27840248
Default Alt Text
D9723.diff (488 B)
Attached To
Mode
D9723: Properly restrict lam
Attached
Detach File
Event Timeline
Log In to Comment