… | |
… | |
84 | |
84 | |
85 | #else |
85 | #else |
86 | |
86 | |
87 | #include <sys/time.h> |
87 | #include <sys/time.h> |
88 | #include <sys/select.h> |
88 | #include <sys/select.h> |
|
|
89 | #include <sys/wait.h> |
89 | #include <unistd.h> |
90 | #include <unistd.h> |
90 | #include <utime.h> |
91 | #include <utime.h> |
91 | #include <signal.h> |
92 | #include <signal.h> |
92 | |
93 | |
93 | #define EIO_STRUCT_STAT Stat_t |
94 | #define EIO_STRUCT_STAT Stat_t |
… | |
… | |
224 | # undef PAGESIZE |
225 | # undef PAGESIZE |
225 | #endif |
226 | #endif |
226 | |
227 | |
227 | #if PAGESIZE <= 0 |
228 | #if PAGESIZE <= 0 |
228 | # define PAGESIZE sysconf (_SC_PAGESIZE) |
229 | # define PAGESIZE sysconf (_SC_PAGESIZE) |
|
|
230 | #endif |
|
|
231 | |
|
|
232 | /* solaris perl seems to declare a wrong syscall function that clashes with system includes */ |
|
|
233 | #ifdef __sun |
|
|
234 | # undef HAVE_SYSCALL |
229 | #endif |
235 | #endif |
230 | |
236 | |
231 | #if HAVE_SYSCALL |
237 | #if HAVE_SYSCALL |
232 | #include <sys/syscall.h> |
238 | #include <sys/syscall.h> |
233 | #else |
239 | #else |
… | |
… | |
1350 | const_iv (AT_STATX_DONT_SYNC) |
1356 | const_iv (AT_STATX_DONT_SYNC) |
1351 | const_iv (AT_RECURSIVE) |
1357 | const_iv (AT_RECURSIVE) |
1352 | |
1358 | |
1353 | const_iv (OPEN_TREE_CLONE) |
1359 | const_iv (OPEN_TREE_CLONE) |
1354 | |
1360 | |
|
|
1361 | const_iv (FSOPEN_CLOEXEC) |
|
|
1362 | |
|
|
1363 | const_iv (FSPICK_CLOEXEC) |
|
|
1364 | const_iv (FSPICK_SYMLINK_NOFOLLOW) |
|
|
1365 | const_iv (FSPICK_NO_AUTOMOUNT) |
|
|
1366 | const_iv (FSPICK_EMPTY_PATH) |
|
|
1367 | |
1355 | const_iv (MOVE_MOUNT_F_SYMLINKS) |
1368 | const_iv (MOVE_MOUNT_F_SYMLINKS) |
1356 | const_iv (MOVE_MOUNT_F_AUTOMOUNTS) |
1369 | const_iv (MOVE_MOUNT_F_AUTOMOUNTS) |
1357 | const_iv (MOVE_MOUNT_F_EMPTY_PATH) |
1370 | const_iv (MOVE_MOUNT_F_EMPTY_PATH) |
1358 | const_iv (MOVE_MOUNT_T_SYMLINKS) |
1371 | const_iv (MOVE_MOUNT_T_SYMLINKS) |
1359 | const_iv (MOVE_MOUNT_T_AUTOMOUNTS) |
1372 | const_iv (MOVE_MOUNT_T_AUTOMOUNTS) |
1360 | const_iv (MOVE_MOUNT_T_EMPTY_PATH) |
1373 | const_iv (MOVE_MOUNT_T_EMPTY_PATH) |
|
|
1374 | |
|
|
1375 | /* waitid */ |
|
|
1376 | const_iv (P_PID) |
|
|
1377 | const_iv (P_PIDFD) |
|
|
1378 | const_iv (P_PGID) |
|
|
1379 | const_iv (P_ALL) |
|
|
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) |
1361 | |
1399 | |
1362 | /* these are libeio constants, and are independent of gendef0 */ |
1400 | /* these are libeio constants, and are independent of gendef0 */ |
1363 | const_eio (SEEK_SET) |
1401 | const_eio (SEEK_SET) |
1364 | const_eio (SEEK_CUR) |
1402 | const_eio (SEEK_CUR) |
1365 | const_eio (SEEK_END) |
1403 | const_eio (SEEK_END) |