* OpenBSD support for setrlimit().
This commit is contained in:
+1
-2
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user