criu/compel/arch
Radostin Stoyanov 8aba7ae9fa compel: Fix missing loff_t in Alpine
musl defines 'loff_t' in fcntl.h as 'off_t'.
This patch resolves the following error when running the compel tests
on Alpine Linux:

gcc -O2 -g -Wall -Werror -c -Wstrict-prototypes -fno-stack-protector -nostdlib -fomit-frame-pointer -ffreestanding -fpie -I ../../../compel/include/uapi -o parasite.o parasite.c
In file included from ../../../compel/include/uapi/compel/plugins/std/syscall.h:8,
                 from ../../../compel/include/uapi/compel/plugins/std.h:5,
                 from parasite.c:3:
../../../compel/include/uapi/compel/plugins/std/syscall-64.h:19:66: error: unknown type name 'loff_t'; did you mean 'off_t'?
   19 | extern long sys_pread (unsigned int fd, char *buf, size_t count, loff_t pos) ;
      |                                                                  ^~~~~~
      |                                                                  off_t
../../../compel/include/uapi/compel/plugins/std/syscall-64.h:96:46: error: unknown type name 'loff_t'; did you mean 'off_t'?
   96 | extern long sys_fallocate (int fd, int mode, loff_t offset, loff_t len) ;
      |                                              ^~~~~~
      |                                              off_t
../../../compel/include/uapi/compel/plugins/std/syscall-64.h:96:61: error: unknown type name 'loff_t'; did you mean 'off_t'?
   96 | extern long sys_fallocate (int fd, int mode, loff_t offset, loff_t len) ;
      |                                                             ^~~~~~
      |                                                             off_t
make[1]: *** [Makefile:32: parasite.o] Error 1

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2021-09-03 10:31:00 -07:00
..
aarch64 compel: rewrite parasite cmd and args manipulation from assembly to C 2020-10-20 00:18:24 -07:00
arm dump/ppc64,arm,mips: sanitize the ERESTART_RESTARTBLOCK -> EINTR transition 2021-09-03 10:31:00 -07:00
mips dump/ppc64,arm,mips: sanitize the ERESTART_RESTARTBLOCK -> EINTR transition 2021-09-03 10:31:00 -07:00
ppc64 dump/ppc64,arm,mips: sanitize the ERESTART_RESTARTBLOCK -> EINTR transition 2021-09-03 10:31:00 -07:00
s390 compel: don't mmap parasite as RWX 2021-09-03 10:31:00 -07:00
x86 compel: Fix missing loff_t in Alpine 2021-09-03 10:31:00 -07:00