mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
libcapsicum: limit stderr
Don't limit stdout twice, instead limit stderr. Pointed out by: rpokala@
This commit is contained in:
parent
1834282de6
commit
059cc32342
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306673
@ -96,7 +96,7 @@ caph_limit_stdio(void)
|
||||
{
|
||||
|
||||
if (caph_limit_stdin() == -1 || caph_limit_stdout() == -1 ||
|
||||
caph_limit_stdout() == -1) {
|
||||
caph_limit_stderr() == -1) {
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user