freebsd-dev/usr.bin/lam
Baptiste Daroussin 0064a5b36d Better fix for r314098
The actual issue was the fact that if - was used then some restriction were
already set to stdin when we were applying caph_limit_stdio which was failing
due to the fact the fd was the fd was already restricted to lower rights.

Restricting stdio before actually opening the files prevent trying to raise the
right and fixes the issue.

And this allows to keep failing the program if restriction failed

Approved by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D9723
2017-02-22 16:37:45 +00:00
..
lam.1 Fix missing AUTHOR section for jot(1), rs(1), and lam(1) 2015-04-07 15:56:08 +00:00
lam.c Better fix for r314098 2017-02-22 16:37:45 +00:00
Makefile
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00