diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-07-21 09:58:18 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-07-21 10:04:45 +0200 |
commit | c1f04a024a3d48e39ac5bfc82af7ba9fec04539c (patch) | |
tree | e8b13d72b4e930c2b8d19e1c65dc4eb1575c917d /vendor/golang.org/x/sys/unix/mkerrors.sh | |
parent | 0de7e4662e6d574fe382714cb6664a4519771f88 (diff) | |
download | podman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.tar.gz podman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.tar.bz2 podman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.zip |
podman-remote pull: fix duplicate progress outputs
By vendoring the fixes from containers/image. Also add a test (thanks
@edsantiago) to make sure we won't regress in the future again.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/mkerrors.sh')
-rw-r--r-- | vendor/golang.org/x/sys/unix/mkerrors.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh index d888fb770..ca50e4e14 100644 --- a/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -128,6 +128,7 @@ includes_FreeBSD=' #include <sys/mount.h> #include <sys/wait.h> #include <sys/ioctl.h> +#include <sys/ptrace.h> #include <net/bpf.h> #include <net/if.h> #include <net/if_types.h> @@ -202,6 +203,7 @@ struct ltchars { #include <sys/timerfd.h> #include <sys/uio.h> #include <sys/xattr.h> +#include <linux/audit.h> #include <linux/bpf.h> #include <linux/can.h> #include <linux/can/error.h> @@ -529,7 +531,7 @@ ccflags="$@" $2 ~ /^(MS|MNT|MOUNT|UMOUNT)_/ || $2 ~ /^NS_GET_/ || $2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ || - $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|TFD)_/ || + $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|PIOD|TFD)_/ || $2 ~ /^KEXEC_/ || $2 ~ /^LINUX_REBOOT_CMD_/ || $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ || @@ -553,6 +555,7 @@ ccflags="$@" $2 ~ /^CLONE_[A-Z_]+/ || $2 !~ /^(BPF_TIMEVAL|BPF_FIB_LOOKUP_[A-Z]+)$/ && $2 ~ /^(BPF|DLT)_/ || + $2 ~ /^AUDIT_/ || $2 ~ /^(CLOCK|TIMER)_/ || $2 ~ /^CAN_/ || $2 ~ /^CAP_/ || @@ -575,7 +578,6 @@ ccflags="$@" $2 ~ /^SEEK_/ || $2 ~ /^SPLICE_/ || $2 ~ /^SYNC_FILE_RANGE_/ || - $2 !~ /^AUDIT_RECORD_MAGIC/ && $2 !~ /IOC_MAGIC/ && $2 ~ /^[A-Z][A-Z0-9_]+_MAGIC2?$/ || $2 ~ /^(VM|VMADDR)_/ || |