Add pread and pwrite 32bit syscall wrappers for parisc
authorHelge Deller <deller@gmx.de>
Wed, 23 Apr 2014 20:52:53 +0000 (22:52 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Jul 2018 00:13:54 +0000 (01:13 +0100)
commite2933dbcfc31b8c009956554e15c39aa7b7165a9
tree0d4164301d175df6af76ed3957c5baabfa784460
parent242aa9293d83db61b63af04d6d234a5adf59215d
Add pread and pwrite 32bit syscall wrappers for parisc

On the hppa arch (32bit userspace and 32 or 64bit kernel), the fstype
program fails to detect the filesystem.  The reason for this failure
is, that fstype calls the pread() syscall, which has on some
architectures with 32bit userspace a different calling syntax.  I
noticed this bug on hppa, but I assume s390 (32bit) and others might
run into similiar issues.

Signed-off-by: Helge Deller <deller@gmx.de>
Gbp-Pq: Name klibc-add-pread-and-pwrite-32bit-syscall-wrappers-for-parisc.patch
usr/include/endian.h
usr/klibc/Kbuild
usr/klibc/SYSCALLS.def
usr/klibc/pread.c [new file with mode: 0644]
usr/klibc/pwrite.c [new file with mode: 0644]