runas: freebsd compat for mmap flags
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Feb 2012 15:12:05 +0000 (10:12 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Feb 2012 15:12:05 +0000 (10:12 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/runas.c

index cdc9cb79e604177467dd815992e12bdbe875e4f9..ddb2f18bf62c34f3508dfbae8c0a1d080dec4c69 100644 (file)
 #define MAP_STACK              0
 #endif
 
+#ifndef MAP_GROWSDOWN
+#define GROWSDOWN              0
+#endif
+
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS          MAP_ANON
+#endif
+
 struct run_as_data {
        int (*cmd)(void *data);
        void *data;
This page took 0.025925 seconds and 4 git commands to generate.