… | |
… | |
227 | |
227 | |
228 | #if PAGESIZE <= 0 |
228 | #if PAGESIZE <= 0 |
229 | # define PAGESIZE sysconf (_SC_PAGESIZE) |
229 | # define PAGESIZE sysconf (_SC_PAGESIZE) |
230 | #endif |
230 | #endif |
231 | |
231 | |
|
|
232 | /* solaris perl seems to declare a wrong syscall function that clashes with system includes */ |
|
|
233 | #ifdef __sun |
|
|
234 | # undef HAVE_SYSCALL |
|
|
235 | #endif |
|
|
236 | |
232 | #if HAVE_SYSCALL |
237 | #if HAVE_SYSCALL |
233 | #include <sys/syscall.h> |
238 | #include <sys/syscall.h> |
234 | #else |
239 | #else |
235 | # define syscall(nr,...) (errno = ENOSYS, -1) |
240 | # define syscall(nr,...) (errno = ENOSYS, -1) |
236 | #endif |
241 | #endif |
… | |
… | |
1198 | const_iv (MAP_NONBLOCK) |
1203 | const_iv (MAP_NONBLOCK) |
1199 | const_iv (MAP_GROWSDOWN) |
1204 | const_iv (MAP_GROWSDOWN) |
1200 | const_iv (MAP_32BIT) |
1205 | const_iv (MAP_32BIT) |
1201 | const_iv (MAP_HUGETLB) |
1206 | const_iv (MAP_HUGETLB) |
1202 | const_iv (MAP_STACK) |
1207 | const_iv (MAP_STACK) |
|
|
1208 | const_iv (MAP_FIXED_NOREPLACE) |
|
|
1209 | const_iv (MAP_SHARED_VALIDATE) |
|
|
1210 | const_iv (MAP_SYNC) |
|
|
1211 | const_iv (MAP_UNINITIALIZED) |
1203 | |
1212 | |
1204 | const_iv (MREMAP_MAYMOVE) |
1213 | const_iv (MREMAP_MAYMOVE) |
1205 | const_iv (MREMAP_FIXED) |
1214 | const_iv (MREMAP_FIXED) |
1206 | |
1215 | |
1207 | const_iv (MSG_CMSG_CLOEXEC) |
1216 | const_iv (MSG_CMSG_CLOEXEC) |
… | |
… | |
1371 | const_iv (P_PID) |
1380 | const_iv (P_PID) |
1372 | const_iv (P_PIDFD) |
1381 | const_iv (P_PIDFD) |
1373 | const_iv (P_PGID) |
1382 | const_iv (P_PGID) |
1374 | const_iv (P_ALL) |
1383 | const_iv (P_ALL) |
1375 | |
1384 | |
|
|
1385 | const_iv (FSCONFIG_SET_FLAG) |
|
|
1386 | const_iv (FSCONFIG_SET_STRING) |
|
|
1387 | const_iv (FSCONFIG_SET_BINARY) |
|
|
1388 | const_iv (FSCONFIG_SET_PATH) |
|
|
1389 | const_iv (FSCONFIG_SET_PATH_EMPTY) |
|
|
1390 | const_iv (FSCONFIG_SET_FD) |
|
|
1391 | const_iv (FSCONFIG_CMD_CREATE) |
|
|
1392 | const_iv (FSCONFIG_CMD_RECONFIGURE) |
|
|
1393 | |
|
|
1394 | const_iv (MOUNT_ATTR_RDONLY) |
|
|
1395 | const_iv (MOUNT_ATTR_NOSUID) |
|
|
1396 | const_iv (MOUNT_ATTR_NODEV) |
|
|
1397 | const_iv (MOUNT_ATTR_NOEXEC) |
|
|
1398 | const_iv (MOUNT_ATTR__ATIME) |
|
|
1399 | const_iv (MOUNT_ATTR_RELATIME) |
|
|
1400 | const_iv (MOUNT_ATTR_NOATIME) |
|
|
1401 | const_iv (MOUNT_ATTR_STRICTATIME) |
|
|
1402 | const_iv (MOUNT_ATTR_NODIRATIME) |
|
|
1403 | |
1376 | /* these are libeio constants, and are independent of gendef0 */ |
1404 | /* these are libeio constants, and are independent of gendef0 */ |
1377 | const_eio (SEEK_SET) |
1405 | const_eio (SEEK_SET) |
1378 | const_eio (SEEK_CUR) |
1406 | const_eio (SEEK_CUR) |
1379 | const_eio (SEEK_END) |
1407 | const_eio (SEEK_END) |
1380 | |
1408 | |