Commit Graph

4 Commits (master)

Author SHA1 Message Date
Michael Santos 44b9a967e6 rlimit: remove variable reinitializations 7 months ago
Michael Santos 1a180c7655 rlimit: test if stdout is a file
Fix rlimit process restriction in commit 29d29f21:
* fd 1 is opened by the parent: enforce restrictions at startup
* enable RLIMIT_FSIZE if fd 2 is not a regular file
* fix compile error
1 year ago
Michael Santos 29d29f21c7 rlimit: disable fs writes
Use RLIMIT_FSIZE to disable writes to the filesystem when stdout is not
a regular file.
1 year ago
Michael Santos 45e96e6ea9 s/XMPPIPE_RESTRICT/RESTRICT/gi 5 years ago