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>
Sat, 30 Dec 2017 22:09:36 +0000 (22:09 +0000)
commit5883eede0b068c6f4fa2b2ab4194d5f54ad2dc05
tree331959f8e7e2826650c0bd1b27a2788dac3b52cd
parentf0b3a3410dac80383df946b9da7829840f2afb97
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]