/usr/include/lighttpd/sys-mmap.h is in lighttpd-dev 1.4.45-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #ifndef LI_SYS_MMAP_H
#define LI_SYS_MMAP_H
#include "first.h"
#if defined(HAVE_SYS_MMAN_H)
# include <sys/mman.h>
#else /* HAVE_SYS_MMAN_H */
# define PROT_SHARED 0
# define MAP_SHARED 0
# define PROT_READ 0
# define mmap(a, b, c, d, e, f) (-1)
# define munmap(a, b) (-1)
#endif /* HAVE_SYS_MMAN_H */
/* NetBSD 1.3.x needs it; also make it available if mmap() is not present */
#if !defined(MAP_FAILED)
# define MAP_FAILED ((char*)-1)
#endif
#endif
|