freebsd-skq/usr.bin/lam
bapt 3137dcd013 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
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