diff --git a/doc/zzuf.1 b/doc/zzuf.1 index efeb07e..d1d3df5 100644 --- a/doc/zzuf.1 +++ b/doc/zzuf.1 @@ -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. diff --git a/src/zzuf.c b/src/zzuf.c index ea5233b..6f47364 100644 --- a/src/zzuf.c +++ b/src/zzuf.c @@ -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