diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-12-04 10:25:54 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-12-04 10:30:40 +0100 |
commit | a94e625868c4188dfd3a522f2b24ff9ca3905b64 (patch) | |
tree | d9ee3411747bfc12239b3799f1cdf05775e92087 /hack | |
parent | 5c3af009c6027429d60f6e73bf3ade346ec3d410 (diff) | |
download | podman-a94e625868c4188dfd3a522f2b24ff9ca3905b64.tar.gz podman-a94e625868c4188dfd3a522f2b24ff9ca3905b64.tar.bz2 podman-a94e625868c4188dfd3a522f2b24ff9ca3905b64.zip |
rootless: add fallback for renameat2 at runtime
the renameat2 syscall might be defined in the C library but lacking
support in the kernel.
In such case, let it fallback to open(O_CREAT)+rename as it does on
systems lacking the definition for renameat2.
Closes: https://github.com/containers/libpod/issues/4570
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'hack')
0 files changed, 0 insertions, 0 deletions