Michael VAN CANNEYT
4c2b54ee0d
* Char -> AnsiChar
2023-07-14 17:26:09 +02:00
Pierre Muller
be1cc68a99
Change libc statx function to weakexternal
...
Test if statx is nil before call
2023-03-12 16:28:58 +01:00
pierre
64bd8336f1
Fix compilation of linux unit with -dFPC_USE_LIBC option
...
git-svn-id: trunk@48504 -
2021-02-02 23:56:22 +00:00
florian
3922926d17
* disable new syscalls on android
...
git-svn-id: trunk@48495 -
2021-02-01 21:05:23 +00:00
florian
b4a1c27c58
* renamed new syscall wrapper in linux to be consist with the others
...
git-svn-id: trunk@48479 -
2021-01-31 22:25:18 +00:00
florian
b8ab06aae7
+ futimens syscall
...
* make use of futimens syscall in sysutils unit
+ tests
git-svn-id: trunk@48472 -
2021-01-31 17:12:39 +00:00
florian
0c77536f11
+ linux.fputimensat which properly uses the _tim64 version if needed and available
...
+ test
git-svn-id: trunk@48470 -
2021-01-31 16:24:47 +00:00
svenbarth
2840e5e1fd
* fix for Mantis #36895 : the new epoll_pwait was missing the size parameter for the sigmask parameter
...
git-svn-id: trunk@45208 -
2020-05-01 13:11:02 +00:00
michael
76e64749aa
* Fix bug #35914 : add epoll_pwait, epoll_create1
...
git-svn-id: trunk@44666 -
2020-04-09 21:27:22 +00:00
florian
1dd914ffc8
+ initial xtensa-linux rtl
...
git-svn-id: trunk@44636 -
2020-04-07 21:01:07 +00:00
florian
e32027c8d3
+ add missing semicolon, resolves #36868
...
git-svn-id: trunk@44578 -
2020-04-04 20:04:01 +00:00
florian
2b7447c78d
* EPoll_Event is packed only on x86-64, not other 64 Bit CPUs, resolves #34416
...
* epoll_pwait expects the SigSet size as sixth parameter (kernel syscall only)
+ simple epoll* test
git-svn-id: trunk@44093 -
2020-02-02 14:23:51 +00:00
florian
d425a85f8d
+ Linux.fpstatx, resolves #36501
...
git-svn-id: trunk@43837 -
2020-01-02 14:10:31 +00:00
yury
3a2884df70
* Android: The list of supported syscalls has been auto-generated directly from android sources for each CPU.
...
* Minor adjustments to make all compilable with the proper list of Android syscalls.
git-svn-id: trunk@39739 -
2018-09-11 16:10:50 +00:00
michael
94b6fe6ad3
* added O_CLOEXEC
...
git-svn-id: trunk@38100 -
2018-02-02 10:33:13 +00:00
yury
af0fdea815
* Android: Include list of supported syscalls for each CPU.
...
Adjust Linux RTL to work with supported Android syscalls.
It should fix issues with Android 8.
git-svn-id: trunk@37480 -
2017-10-17 18:15:02 +00:00
Jonas Maebe
4fa2edc638
+ Linux/AArch64 RTL support (patch by Edmund Grimley Evans)
...
o uses new generic Linux syscall numbers, used for recent architectures
git-svn-id: trunk@30895 -
2015-05-23 21:04:08 +00:00
michael
dd6f45d1d0
* Added setregid and setreuid functions to linux unit (they are not POSIX), bug ID #25403
...
git-svn-id: trunk@30621 -
2015-04-17 16:48:32 +00:00
marco
a8671e550e
* fix FPC_USE_LIBC for inotify and clock* functions, and always link librt when this unit is used under FPC_USE_LIBC.
...
make all building failed otherwise because fppkg seems to import unit linux somewhere.
git-svn-id: trunk@26199 -
2013-12-08 20:23:09 +00:00
pierre
651589c9a4
* Adapt to mipsel compiler defining cpumipsel and cpumipsel32 but not cpumips anymore
...
git-svn-id: trunk@21542 -
2012-06-08 09:34:36 +00:00
pierre
160037eb9d
* Patch from Fuxin Zhang: Mips specific MAP_XXX constants
...
git-svn-id: trunk@21531 -
2012-06-07 23:05:27 +00:00
michael
0bdccfa2b0
* Added clock_getres, clock_gettime, clock_settime calls
...
git-svn-id: trunk@19789 -
2011-12-09 16:30:23 +00:00
michael
2d7dbacee0
* Added inotify calls
...
git-svn-id: trunk@19788 -
2011-12-09 16:05:35 +00:00
Jonas Maebe
715c819ff7
- removed "packed" from record types that should/need not be packed
...
git-svn-id: trunk@19613 -
2011-11-08 23:13:16 +00:00
marco
2c00a2a0b3
* fixed FPC_USE_LIBC building for Linux and exception handling (mantis #13450 )
...
- fixed a platform modifier in ipc.pp
- fixed different layout sigaction record in libc. (field order)
- fixed many bad use_libc fixes in linux. Most of these were only checked
for compilation, not linking. (e.g. futex doesn't link)
git-svn-id: trunk@18042 -
2011-07-31 23:36:17 +00:00
Jonas Maebe
d8032f6366
- disabled modify_ldt for non-x86 platforms, since it does not exist there
...
(mantis #17100 )
* also use a syscall to call modify_ldt when FPC_USE_LIBC is defined,
because it's not exported as a function from libc
git-svn-id: trunk@15838 -
2010-08-17 21:34:09 +00:00
daniel
da77c0c190
+ Add libc version of futex
...
git-svn-id: trunk@15811 -
2010-08-14 19:34:05 +00:00
daniel
6f2b097d63
+ Add futex
...
git-svn-id: trunk@15747 -
2010-08-08 14:24:46 +00:00
daniel
1009a84e25
+ Add modify_ldt to linux unit
...
+ Add sched_yield to linux unit
- Remove clone for m68k from linux unit (unimplemented assembler section)
+ Add fpsigtimedwait to baseunix unit
git-svn-id: trunk@15602 -
2010-07-18 21:53:26 +00:00
marco
30207d73ea
* epoll_oneshot constant, mantis 15732
...
git-svn-id: trunk@14931 -
2010-02-20 22:24:01 +00:00
micha
aa38b10011
* attempt to fix powerpc64-linux sync_file_range compilation
...
git-svn-id: trunk@12274 -
2008-11-29 15:43:09 +00:00
micha
1b418875b3
* fix typo
...
git-svn-id: trunk@12110 -
2008-11-15 20:49:18 +00:00
micha
28e614c237
* move fdatasync to linux unit
...
git-svn-id: trunk@12109 -
2008-11-15 20:44:44 +00:00
micha
d7e90f9e48
+ add splice and sync_file_range linux-only syscalls
...
git-svn-id: trunk@12107 -
2008-11-15 15:43:52 +00:00
Almindor
b8c3dc960d
* fix x86 -> cpu86 define
...
* add tee() function
git-svn-id: trunk@8365 -
2007-09-03 10:54:44 +00:00
Almindor
6fd901181a
* update sysnr.inc for x86 and x86_64 to latest kernel
...
* add splice syscall to linux unit for x86 and x86_64
git-svn-id: trunk@8364 -
2007-09-02 22:06:04 +00:00
Jonas Maebe
cce61fa602
* fixed compilation on 64 bit cpus
...
git-svn-id: trunk@8333 -
2007-08-29 14:31:17 +00:00
Almindor
6a327799f8
* fix typo with [T]SysInfo record
...
git-svn-id: trunk@8331 -
2007-08-29 11:59:47 +00:00
Almindor
89eeb8aa63
* fix linux sysinfo struct and function (bug 9523)
...
git-svn-id: trunk@8330 -
2007-08-29 10:08:02 +00:00
daniel
9a8aa52cc5
+ Add setcap/getcap
...
+ Restore clone
git-svn-id: trunk@8033 -
2007-07-12 22:02:11 +00:00
Almindor
f71c886752
* move the FUTEX down so uses doesn't get in the way
...
git-svn-id: trunk@7974 -
2007-07-07 09:23:18 +00:00
Almindor
1fa4e17c87
* make FUTEX_OP implemented also with FPC_USE_LIBC since it's a macro
...
git-svn-id: trunk@7972 -
2007-07-07 08:41:42 +00:00
marco
fd6f6cf7e9
* fix for 8801. mmap constants inconsistancy. Old constants are aliased for compat. non portable moved to OS specific units (merge)
...
git-svn-id: trunk@7265 -
2007-05-04 21:23:02 +00:00
ivost
de36c38282
* fixed bug in linux.pp / user_desc record
...
git-svn-id: trunk@6949 -
2007-03-21 20:56:57 +00:00
ivost
faf3b065f8
* updated TLS segmentdescriptor definiton (record user_desc)
...
git-svn-id: trunk@6767 -
2007-03-09 22:23:42 +00:00
ivost
fc0f2f3de6
* disabled Clone syscall in linux.pp, it was completly wrong (I will replace it)
...
* added ldt record and constants to linux.pp
git-svn-id: trunk@6750 -
2007-03-08 21:40:59 +00:00
ivost
025b57815f
* removed inline flag from FUTEX_OP in linux.pp
...
* added msync constants
git-svn-id: trunk@6691 -
2007-03-01 14:20:34 +00:00
ivost
9161a2967a
* added futex constants to linux.pp (from futex.h)
...
git-svn-id: trunk@6687 -
2007-02-28 22:34:32 +00:00
ivost
1a7f06aa7d
* added the new CLONE_* constants from syscall clone
...
git-svn-id: trunk@6686 -
2007-02-28 22:26:42 +00:00
Almindor
2c8c5800bc
* fixed EPOLLOUT vs EPOLLPRI mixup in constants
...
git-svn-id: trunk@4526 -
2006-09-01 07:54:48 +00:00