* OpenBSD support for setrlimit().

This commit is contained in:
Sam Hocevar
2007-02-08 21:51:37 +00:00
committed by sam
parent e551756f05
commit 2920df42d4
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -143,8 +143,7 @@ memory. The value should set reasonably high so as not to interfer with normal
program operation.
\fBzzuf\fR uses the \fBsetrlimit\fR() call to set memory usage limitations and
relies on the operating system's ability to enforce such limitations. This
option is not available on the OpenBSD system.
relies on the operating system's ability to enforce such limitations.
.TP
\fB\-n\fR, \fB\-\-network\fR
Fuzz the application's network input. By default \fBzzuf\fR only fuzzes files.
+2
View File
@@ -79,6 +79,8 @@
# define ZZUF_RLIMIT_CONST RLIMIT_AS
#elif defined RLIMIT_VMEM
# define ZZUF_RLIMIT_CONST RLIMIT_VMEM
#elif defined RLIMIT_DATA
# define ZZUF_RLIMIT_CONST RLIMIT_DATA
#else
# undef HAVE_SETRLIMIT
#endif