criu/scripts
Radostin Stoyanov e8a6765d1e criu: fix conflicting headers
There are several changes in glibc 2.36 that make sys/mount.h header
incompatible with kernel headers:

https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E

This patch removes conflicting includes for `<linux/mount.h>` and
updates the content of `criu/include/linux/mount.h` to match
`/usr/include/sys/mount.h`. In addition, inline definitions sys_*()
functions have been moved from "linux/mount.h" to "syscall.h" to
avoid conflicts with `uapi/compel/plugins/std/syscall.h` and
`<unistd.h>`. The include for `<linux/aio_abi.h>` has been replaced
with local include to avoid conflicts with `<sys/mount.h>`.

Fixes: #1949

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2023-04-15 21:17:21 -07:00
..
build Revert "test: disable rseq also on Archlinux" 2022-04-28 17:53:52 -07:00
ci Add --skip-file-rwx-check opt test 2023-04-15 21:17:21 -07:00
nmk Fix some codespell warnings 2022-04-28 17:53:52 -07:00
crit-setup.py crit: Use same version as criu 2022-06-22 10:20:33 -07:00
criu-ns Fix the check for mnt namespace in criu-ns 2023-04-15 21:17:21 -07:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak criu: fix conflicting headers 2023-04-15 21:17:21 -07:00
fetch-clang-format.sh clang-format: enable AlignTrailingComments 2022-04-28 17:53:52 -07:00
flake8.cfg coredump: remove unused import 2022-04-28 17:53:52 -07:00
install-criu-image-streamer.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
install-debian-pkgs.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
magic-gen.py py: Fix tabs in code comments 2019-09-07 15:59:57 +03:00
protobuf-gen.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
systemd-autofs-restart.sh Fix some codespell warnings 2022-04-28 17:53:52 -07:00
tmp-files.sh scripts: fix shellcheck warnings 2021-09-03 10:31:00 -07:00