… | |
… | |
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 |
… | |
… | |
1371 | const_iv (P_PID) |
1376 | const_iv (P_PID) |
1372 | const_iv (P_PIDFD) |
1377 | const_iv (P_PIDFD) |
1373 | const_iv (P_PGID) |
1378 | const_iv (P_PGID) |
1374 | const_iv (P_ALL) |
1379 | const_iv (P_ALL) |
1375 | |
1380 | |
|
|
1381 | const_iv (FSCONFIG_SET_FLAG) |
|
|
1382 | const_iv (FSCONFIG_SET_STRING) |
|
|
1383 | const_iv (FSCONFIG_SET_BINARY) |
|
|
1384 | const_iv (FSCONFIG_SET_PATH) |
|
|
1385 | const_iv (FSCONFIG_SET_PATH_EMPTY) |
|
|
1386 | const_iv (FSCONFIG_SET_FD) |
|
|
1387 | const_iv (FSCONFIG_CMD_CREATE) |
|
|
1388 | const_iv (FSCONFIG_CMD_RECONFIGURE) |
|
|
1389 | |
|
|
1390 | const_iv (MOUNT_ATTR_RDONLY) |
|
|
1391 | const_iv (MOUNT_ATTR_NOSUID) |
|
|
1392 | const_iv (MOUNT_ATTR_NODEV) |
|
|
1393 | const_iv (MOUNT_ATTR_NOEXEC) |
|
|
1394 | const_iv (MOUNT_ATTR__ATIME) |
|
|
1395 | const_iv (MOUNT_ATTR_RELATIME) |
|
|
1396 | const_iv (MOUNT_ATTR_NOATIME) |
|
|
1397 | const_iv (MOUNT_ATTR_STRICTATIME) |
|
|
1398 | const_iv (MOUNT_ATTR_NODIRATIME) |
|
|
1399 | |
1376 | /* these are libeio constants, and are independent of gendef0 */ |
1400 | /* these are libeio constants, and are independent of gendef0 */ |
1377 | const_eio (SEEK_SET) |
1401 | const_eio (SEEK_SET) |
1378 | const_eio (SEEK_CUR) |
1402 | const_eio (SEEK_CUR) |
1379 | const_eio (SEEK_END) |
1403 | const_eio (SEEK_END) |
1380 | |
1404 | |