Pierre Muller
fb672fe645
Both _STAT_VER_KERNEL and _STAT_VER_LINUX are equal to zero for aarch64-linux
...
(cherry picked from commit 0641ea33d1
)
2024-09-19 22:54:29 +02:00
michael
85fdf6d52a
* Fix bug ID #37172 (fixes branch)
...
git-svn-id: branches/fixes_3_2@45584 -
2020-06-03 20:54:31 +00:00
pierre
1ff7f061ff
Sparc64 uses the same value as sparc for O_APPEND
...
git-svn-id: trunk@36782 -
2017-07-24 10:01:14 +00:00
michael
52cd572cec
* Use specific type for TFPSet elements
...
git-svn-id: trunk@36710 -
2017-07-09 14:47:27 +00:00
marco
c335a3ea6e
* change TDIR fields to longint. Should have been abandonned long ago.
...
git-svn-id: trunk@34041 -
2016-06-30 18:51:05 +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
svenbarth
fe49a4b60c
Fix Fp*Stat calls when compiling with FPC_USE_LIBC for x86_64-linux.
...
rtl/linux/ostypes.inc:
* correctly define the _STAT_VER_* constants for x86_64 (the ifdefs are based on those in the C header; for other platforms this needs to be checked)
git-svn-id: trunk@29241 -
2014-12-09 21:23:39 +00:00
Jonas Maebe
5b58162d6b
* increased the size of tdirent to
...
a) compensate for the fact that the kernel assumes it's a multiple of 8
bytes
b) reduce the number of system calls we have to perform when walking a
directory
(fixes mantis #24885 and probably also #20125 and #23732 )
git-svn-id: trunk@26150 -
2013-11-27 22:57:17 +00:00
pierre
61acf7de97
* Fix O_ constants for mips cpu
...
git-svn-id: trunk@21630 -
2012-06-17 12:40:14 +00:00
pierre
594a0e6217
* Adapt to mipsel compiler defining cpumipsel and cpumipsel32 but not cpumips anymore, one missing
...
git-svn-id: trunk@21543 -
2012-06-08 09:43: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
6a985f1ece
* Patch from Fuxin Zhang: Mips specific MAP_XXX constants
...
git-svn-id: trunk@21529 -
2012-06-07 23:04:51 +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
Jonas Maebe
36aa39cc38
o fixed several Linux ipc bugs, based on patch by Ruben Chaer/
...
Pablo Alfaro (mantis #14075 , also fixes #13363 ):
* ipc msgtyp is clong, not cint
* TIPC_Perm and TSEMid_ds are different on 64 bit systems
* fixed passing semun arguments (have to be passed by value, not reference)
* fixed the order of parameters to msg* syscalls, and don't use
TIPC_Kludge for msgrcv syscall (only for ipccall.inc variants)
* use new operation variants on 64 bit platforms in ipccall.inc
* introduced use kernel_mode/uid/gid_t types for use by the Linux ipc
records
* fixed type of TSEMid_ds.sem_base for Darwin
* added {$packrecords c} to ipc unit, and {$packrecords 4} around
certain structs for Darwin as in the C headers
* fixed passing semun argument to semctl for libc platforms (by
value, not reference)
git-svn-id: trunk@16336 -
2010-11-13 16:58:23 +00:00
Jonas Maebe
53ad1bcabe
* fixed linux flock type by defining and using a kernel_off_t type
...
whose size depends on whether the run time environment is 32 or
64 bit (mantis #13647 )
+ added flock64 type for 32 bit systems (usable with special 64 bit
fcntl operations)
git-svn-id: trunk@13119 -
2009-05-09 19:47:59 +00:00
marco
8056591845
* marked domain field of Linux record with "platform" directive. under IFNDEF 2.2, do not merge
...
git-svn-id: trunk@12342 -
2008-12-11 17:42:36 +00:00
micha
4594758ae5
+ add poll support for unix
...
git-svn-id: trunk@12128 -
2008-11-16 17:05:47 +00:00
ivost
69bd90996b
* added S_IRWXG and S_IRWXU constants to ostypes.inc of linux (defined in sys/stat.h)
...
git-svn-id: trunk@11797 -
2008-09-16 22:57:07 +00:00
daniel
74ad03e264
* Remove double definition of O_LARGEFILE for powerpc-linux and give it
...
the correct value: $10000
git-svn-id: trunk@8123 -
2007-07-22 07:47:34 +00:00
florian
6250a3ccb9
* proper definition of O_LARGEFILE for all cpu platforms
...
git-svn-id: trunk@8120 -
2007-07-21 19:45:44 +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
daniel
59a972ec9c
* Change dd_nextoff to cardinal to prevent upscaling of calculations to 64-bit.
...
git-svn-id: trunk@6962 -
2007-03-23 15:53:04 +00:00
ivost
79b02de351
* fixed type defintion putsname
...
git-svn-id: trunk@6688 -
2007-03-01 08:34:12 +00:00
tom_at_work
704f8dae14
* fixed rtl compilation with -dFPC_USE_LIBC by providing a more generic fpprctl() call (including libc variant) and moving related constants slightly
...
git-svn-id: trunk@6134 -
2007-01-22 22:21:32 +00:00
micha
0043aff24d
* fix linux/sysutils 64 bit file handling: make off_t 64 bit
...
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +00:00
micha
b14c83a7e1
* stat records differ too much: use stat include file
...
git-svn-id: trunk@5126 -
2006-10-31 15:45:22 +00:00
micha
59e2c82080
* fix stat for 64 bit CPUs
...
git-svn-id: trunk@5120 -
2006-10-31 13:01:20 +00:00
micha
9238003e4f
+ 64 bit file support for linux
...
git-svn-id: trunk@5116 -
2006-10-31 11:20:21 +00:00
daniel
dc043e1ed3
* Now right.
...
git-svn-id: trunk@3813 -
2006-06-05 21:46:05 +00:00
daniel
6d4b583709
+ Add S_IRWXU
...
git-svn-id: trunk@3812 -
2006-06-05 21:42:36 +00:00
marco
4eb1f8d407
* iovec
...
git-svn-id: trunk@2528 -
2006-02-12 14:00:46 +00:00
marco
2a1d81db28
* fdset is now array of unsigned.
...
git-svn-id: trunk@2347 -
2006-01-26 21:11:37 +00:00
tom_at_work
1b4b42fdd6
* added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
...
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
tom_at_work
b8f34684ec
- fixed TFDSet type for 64 bit compatibility
...
git-svn-id: trunk@1618 -
2005-11-01 21:08:07 +00:00
tom_at_work
701638138b
* fixed exception handling for PowerPC64
...
* math library is now automatically linked on non-x86 platforms when FPC_USE_LIBC is defined
* generic C system function signature adaptions for 64 bit CPUs
git-svn-id: trunk@1392 -
2005-10-15 21:24:15 +00:00
florian
7626a64e35
+ *stat wrappers for linux
...
git-svn-id: trunk@1213 -
2005-09-27 21:10:55 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
4534feb917
* include file cleanup part 2
2005-02-13 21:47:56 +00:00
peter
ae8b7b153b
* include file cleanup
2005-02-13 20:01:37 +00:00
marco
7869e4893c
* tz_ added to ttimezoen fields
2004-12-02 11:23:06 +00:00
florian
3f4d98624f
- killed tsyscallregs
2004-02-06 23:06:16 +00:00
daniel
4d42fe7fa7
* Revert back to longint (it broke make cycle)
2004-02-06 21:17:41 +00:00
florian
25960b979c
* fixed x86-64 assembler problems
2004-02-06 15:58:21 +00:00
peter
ab5352d3f1
* fpnanosleep exported in baseunix
...
* fpnanosleep has pointer arguments to be C compliant
2003-09-27 13:45:58 +00:00
marco
35cd7e61c9
* fixes for new macro's
2003-09-17 11:24:46 +00:00
marco
7efaf7dee2
* Unix reform stage two. Remove all calls from Unix that exist in Baseunix.
2003-09-14 20:15:01 +00:00
marco
7dd70233f2
* new unix rtl, linux part.....
2002-12-18 16:43:26 +00:00